Skip to content

Commit

Permalink
V1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PruthviPraj00 committed Dec 11, 2024
1 parent d6fdd34 commit bdbdaee
Show file tree
Hide file tree
Showing 103 changed files with 6,956 additions and 1,481 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/write-release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
tag_name: v${{ steps.package-version.outputs.version }}
body: |
📜 Read changelog: https://github.com/themeselection/flyonui/blob/main/CHANGELOG.md
📜 Read changelog: https://flyonui.com/changelog/
📦 Install this update:
```bash
Expand Down
82 changes: 82 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,85 @@
## [1.2.0] - [2024-12-11]

## Added

**New Plugins**
- Plugins: [Tree View](https://flyonui.com/docs/components/tree-view/)
- Plugins: [Advanced Range Slider](https://flyonui.com/docs/third-party-plugins/advance-range-slider/)
- Plugins: [Datatable](https://flyonui.com/docs/third-party-plugins/datatable/)

**New Components**
- Third-Party Plugins: [Datatable](https://flyonui.com/docs/third-party-plugins/datatable/)
- Third-Party Plugins: [Advanced Range Slider](https://flyonui.com/docs/third-party-plugins/advance-range-slider/)
- Third-Party Plugins: [Drag and Drop (Sortable.js)](https://flyonui.com/docs/third-party-plugins/drag-and-drop/)
- Third-Party Plugins: [Animation](https://flyonui.com/docs/third-party-plugins/animation/)
- Navigations: [Sidebar](https://flyonui.com/docs/navigations/sidebar/)
- Overlays: [Context Menu](https://flyonui.com/docs/overlays/context-menu/)

**Tree View:**
- [Multiple selection](https://flyonui.com/docs/components/tree-view/#default)
- [Draggable](https://flyonui.com/docs/components/tree-view/#draggable)
- [Draggable and auto collapse one level group](https://flyonui.com/docs/components/tree-view/#draggable-and-close-active-element)
- [Checkbox based](https://flyonui.com/docs/components/tree-view/#checkbox)

**Carousel:**
- [Multiple slides](https://flyonui.com/docs/components/carousel/#multi-slide-carousel)
- [Centered](https://flyonui.com/docs/components/carousel/#centered)
- [Draggable](https://flyonui.com/docs/components/carousel/#draggable-slides)
- [Snap point](https://flyonui.com/docs/components/carousel/#snap-point-scrolling)
- [Auto height](https://flyonui.com/docs/components/carousel/#auto-height)
- [Current state info](https://flyonui.com/docs/components/carousel/#info)
- [Thumbnails (horizontal)](https://flyonui.com/docs/components/carousel/#thumbs-gallery-horizontal)
- [Thumbnails (vertical)](https://flyonui.com/docs/components/carousel/#thumbs-gallery-vertical)
- [isRtl](https://flyonui.com/docs/components/carousel/#isrtl)

**Drawer**
- [Scoped Based drawer](https://flyonui.com/docs/overlays/drawer/#scoped-based-drawer)

**Advanced Select:**
- [Fixed Position](https://flyonui.com/docs/advanced-forms/advanced-select/#fixed-position)
- [Static search limit](https://flyonui.com/docs/advanced-forms/advanced-select/#search-result-limit)
- [Direct match searching Off](https://flyonui.com/docs/advanced-forms/advanced-select/#direct-match-searching-off)
- [Generate select according to the remote data (single)](https://flyonui.com/docs/advanced-forms/advanced-select/#remote-data-selection)
- [Multiple (remote data)](https://flyonui.com/docs/advanced-forms/advanced-select/#remote-data-selection-multiple-options)
- [Tags (remote data)](https://flyonui.com/docs/advanced-forms/advanced-select/#remote-data-selection-with-removable-tags)
- [Option template (remote data)](https://flyonui.com/docs/advanced-forms/advanced-select/#multiple-selection-with-option-template-remote-data)
- [Conditional counter (remote data)](https://flyonui.com/docs/advanced-forms/advanced-select/#multiple-with-conditional-counter-remote-data)
- [Custom template with avatars (remote data)](https://flyonui.com/docs/advanced-forms/advanced-select/#custom-template-with-avatars-remote-data)
- [Modal example with overflow:hidden;](https://flyonui.com/docs/advanced-forms/advanced-select/#modal-example-with-overflowhidden)

**Combox**
- [Json example (based on API pathes)](https://flyonui.com/docs/advanced-forms/combo-box/#json-example-based-on-api-pathes)

**Theme Generator**

**New Variant in plugins : Destroy and Reinitialize**

**Helpers**
- [ApexChart helper](https://flyonui.com/docs/third-party-plugins/apex-charts/)
- [Clipboard helper](https://flyonui.com/docs/third-party-plugins/clipboard/)

## Updated

- Preline V2.6.0
- Updated button outlined variant [#Issue/20](https://github.com/themeselection/flyonui/issues/20)
- Update file upload disable state styling [#Issue/22](https://github.com/themeselection/flyonui/issues/22)
- Update `stat-value` font-size in stat component
- Update menu-item active state style [#issue/26](https://github.com/themeselection/flyonui/issues/26)
- Update timeline style
- Update style for default range slider
- The class options in Clipboard have been updated for consistency with Preline: `copy-clipboard` is now `js-clipboard`, `copy-clipboard-default` is now `js-clipboard-default`, `copy-clipboard-success` is now `js-clipboard-success`, and `copy-clipboard-success-text` is now `js-clipboard-success-text`.

## Fixes and Improvements

- Added: global.d.ts for more convenient work with types.
- Added: plugin.ts, the typed version of plugin.js.
- Added: mjs versions of plugins.
- Fixed: Update theme link in src/index.js
- Fixed: Disabled button make it pointer event none
- Fixed: In the smaller screen Dropdown inside collapse had a closing issue
- Fixed: Hamburger transition issue in navbar [#Issues/18](https://github.com/themeselection/flyonui/issues/18)
- Fixed: Update the code structure for form elements [#Issues/15](https://github.com/themeselection/flyonui/issues/15)

## [1.1.0] - [2024-10-09]

### Added
Expand Down
18 changes: 9 additions & 9 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ SOFTWARE.

The below files are from daisyUI (https://github.com/saadeghi/daisyui) under daisyUI MIT license and using them in other projects requires including daisyUI MIT license text:

- src/base/\*
- src/components/\* (modified)
- src/full/\*
- src/lib/\*
- src/themes/\*
- src/theming/\* (modified)
- src/utilities/\* (modified)
- src/index.js (modified)
- src/release.js
- `src/base/\*`
- `src/components/\*` (modified)
- `src/full/\*`
- `src/lib/\*`
- `src/themes/\*`
- `src/theming/\*` (modified)
- `src/utilities/\*` (modified)
- `src/index.js` (modified)
- `src/release.js`

---

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ We are grateful for the contributions of the open-source community, particularly

- [TailwindCSS](https://tailwindcss.com/)
- [daisyUI](https://daisyui.com/)
- [Preline UI](https://preline.co/).
- [Preline UI](https://preline.co/)

These projects form the backbone of FlyonUI, allowing us to build a powerful and user-friendly UI kit.

Expand Down
29 changes: 18 additions & 11 deletions dts-config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const fs = require('fs')

const pluginsDir = './src/js/plugins'
const helpersDir = './src/js/helpers'
const distDir = './dist/js'
const excludePlugins = ['base-plugin']

Expand All @@ -18,19 +19,25 @@ const config = {
},
...fs
.readdirSync(pluginsDir)
.map(pluginName => {
if (!fs.lstatSync(`${pluginsDir}/${pluginName}`).isDirectory() || excludePlugins.includes(pluginName)) {
return null
}

return {
filePath: `${pluginsDir}/${pluginName}/index.ts`,
outFile: `${distDir}/${pluginName}.d.ts`,
output: outputConfig
}
})
.map(pluginName => writeFile(pluginsDir, pluginName))
.filter(Boolean),
...fs
.readdirSync(helpersDir)
.map(pluginName => writeFile(helpersDir, pluginName, 'helper-'))
.filter(Boolean)
]
}

function writeFile(dir, plugin, prefix = '') {
if (!fs.lstatSync(`${dir}/${plugin}`).isDirectory() || excludePlugins.includes(plugin)) {
return null
}

return {
filePath: `${dir}/${plugin}/index.ts`,
outFile: `${distDir}/${prefix}${plugin}.d.ts`,
output: outputConfig
}
}

module.exports = config
Loading

0 comments on commit bdbdaee

Please sign in to comment.