@ngneers/controls-themes 0.0.1-pre2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/api/index.d.ts +17 -0
- package/api/index.d.ts.map +1 -0
- package/api/index.js +16 -0
- package/api/style/apply-theme.d.ts +33 -0
- package/api/style/apply-theme.d.ts.map +1 -0
- package/api/style/apply-theme.js +260 -0
- package/api/style/get-class-name.d.ts +2 -0
- package/api/style/get-class-name.d.ts.map +1 -0
- package/api/style/get-class-name.js +8 -0
- package/api/style/style-scope.d.ts +15 -0
- package/api/style/style-scope.d.ts.map +1 -0
- package/api/style/style-scope.js +0 -0
- package/api/style/upsert-theme-style-element.d.ts +2 -0
- package/api/style/upsert-theme-style-element.d.ts.map +1 -0
- package/api/style/upsert-theme-style-element.js +23 -0
- package/api/theme/classes.d.ts +10 -0
- package/api/theme/classes.d.ts.map +1 -0
- package/api/theme/classes.js +0 -0
- package/api/theme/combine-variable-variations.d.ts +10 -0
- package/api/theme/combine-variable-variations.d.ts.map +1 -0
- package/api/theme/combine-variable-variations.js +10 -0
- package/api/theme/combine-variations.d.ts +9 -0
- package/api/theme/combine-variations.d.ts.map +1 -0
- package/api/theme/combine-variations.js +9 -0
- package/api/theme/control-template.d.ts +14 -0
- package/api/theme/control-template.d.ts.map +1 -0
- package/api/theme/control-template.js +4 -0
- package/api/theme/css.d.ts +4 -0
- package/api/theme/css.d.ts.map +1 -0
- package/api/theme/css.js +1 -0
- package/api/theme/repeat-variables.d.ts +10 -0
- package/api/theme/repeat-variables.d.ts.map +1 -0
- package/api/theme/repeat-variables.js +9 -0
- package/api/theme/scoped.d.ts +4 -0
- package/api/theme/scoped.d.ts.map +1 -0
- package/api/theme/scoped.js +0 -0
- package/api/theme/template-variable.d.ts +4 -0
- package/api/theme/template-variable.d.ts.map +1 -0
- package/api/theme/template-variable.js +0 -0
- package/api/theme/theme-part.d.ts +31 -0
- package/api/theme/theme-part.d.ts.map +1 -0
- package/api/theme/theme-part.js +17 -0
- package/api/theme/theme.d.ts +14 -0
- package/api/theme/theme.d.ts.map +1 -0
- package/api/theme/theme.js +12 -0
- package/api/theme/variable-template.d.ts +14 -0
- package/api/theme/variable-template.d.ts.map +1 -0
- package/api/theme/variable-template.js +10 -0
- package/api/theme/variable.d.ts +9 -0
- package/api/theme/variable.d.ts.map +1 -0
- package/api/theme/variable.js +2 -0
- package/api/utils/deep-keys.d.ts +6 -0
- package/api/utils/deep-keys.d.ts.map +1 -0
- package/api/utils/deep-keys.js +0 -0
- package/api/utils/deep-merge.d.ts +7 -0
- package/api/utils/deep-merge.d.ts.map +1 -0
- package/api/utils/deep-merge.js +20 -0
- package/api/utils/deep-set.d.ts +2 -0
- package/api/utils/deep-set.d.ts.map +1 -0
- package/api/utils/deep-set.js +15 -0
- package/api/utils/group-array-using.d.ts +2 -0
- package/api/utils/group-array-using.d.ts.map +1 -0
- package/api/utils/group-array-using.js +11 -0
- package/api/utils/sub-key.d.ts +3 -0
- package/api/utils/sub-key.d.ts.map +1 -0
- package/api/utils/sub-key.js +5 -0
- package/api/utils/union-to-intersection.d.ts +2 -0
- package/api/utils/union-to-intersection.d.ts.map +1 -0
- package/api/utils/union-to-intersection.js +0 -0
- package/base/accordion/index.d.ts +2 -0
- package/base/accordion/index.d.ts.map +1 -0
- package/base/accordion/index.js +9 -0
- package/base/accordion-panel/index.d.ts +2 -0
- package/base/accordion-panel/index.d.ts.map +1 -0
- package/base/accordion-panel/index.js +43 -0
- package/base/api/index.d.ts +3 -0
- package/base/api/index.d.ts.map +1 -0
- package/base/api/index.js +2 -0
- package/base/api/movable.d.ts +2 -0
- package/base/api/movable.d.ts.map +1 -0
- package/base/api/movable.js +13 -0
- package/base/api/resizable.d.ts +2 -0
- package/base/api/resizable.d.ts.map +1 -0
- package/base/api/resizable.js +13 -0
- package/base/avatar/index.d.ts +151 -0
- package/base/avatar/index.d.ts.map +1 -0
- package/base/avatar/index.js +41 -0
- package/base/breadcrumb/index.d.ts +2 -0
- package/base/breadcrumb/index.d.ts.map +1 -0
- package/base/breadcrumb/index.js +26 -0
- package/base/button/index.d.ts +2 -0
- package/base/button/index.d.ts.map +1 -0
- package/base/button/index.js +13 -0
- package/base/button-group/index.d.ts +2 -0
- package/base/button-group/index.d.ts.map +1 -0
- package/base/button-group/index.js +30 -0
- package/base/calendar/index.d.ts +2 -0
- package/base/calendar/index.d.ts.map +1 -0
- package/base/calendar/index.js +69 -0
- package/base/checkbox/index.d.ts +2 -0
- package/base/checkbox/index.d.ts.map +1 -0
- package/base/checkbox/index.js +35 -0
- package/base/chip/index.d.ts +2 -0
- package/base/chip/index.d.ts.map +1 -0
- package/base/chip/index.js +19 -0
- package/base/colors/index.d.ts +24 -0
- package/base/colors/index.d.ts.map +1 -0
- package/base/colors/index.js +112 -0
- package/base/dialog/index.d.ts +2 -0
- package/base/dialog/index.d.ts.map +1 -0
- package/base/dialog/index.js +36 -0
- package/base/drawer/index.d.ts +2 -0
- package/base/drawer/index.d.ts.map +1 -0
- package/base/drawer/index.js +35 -0
- package/base/edit-inplace/index.d.ts +2 -0
- package/base/edit-inplace/index.d.ts.map +1 -0
- package/base/edit-inplace/index.js +7 -0
- package/base/filter/index.d.ts +2 -0
- package/base/filter/index.d.ts.map +1 -0
- package/base/filter/index.js +52 -0
- package/base/global/index.d.ts +2 -0
- package/base/global/index.d.ts.map +1 -0
- package/base/global/index.js +25 -0
- package/base/icon/index.d.ts +2 -0
- package/base/icon/index.d.ts.map +1 -0
- package/base/icon/index.js +32 -0
- package/base/index.d.ts +368 -0
- package/base/index.d.ts.map +1 -0
- package/base/index.js +86 -0
- package/base/inplace/index.d.ts +2 -0
- package/base/inplace/index.d.ts.map +1 -0
- package/base/inplace/index.js +7 -0
- package/base/input/index.d.ts +2 -0
- package/base/input/index.d.ts.map +1 -0
- package/base/input/index.js +20 -0
- package/base/input-field/index.d.ts +2 -0
- package/base/input-field/index.d.ts.map +1 -0
- package/base/input-field/index.js +45 -0
- package/base/input-mask/index.d.ts +2 -0
- package/base/input-mask/index.d.ts.map +1 -0
- package/base/input-mask/index.js +24 -0
- package/base/item-view/index.d.ts +2 -0
- package/base/item-view/index.d.ts.map +1 -0
- package/base/item-view/index.js +44 -0
- package/base/list-box/index.d.ts +2 -0
- package/base/list-box/index.d.ts.map +1 -0
- package/base/list-box/index.js +29 -0
- package/base/menu/index.d.ts +2 -0
- package/base/menu/index.d.ts.map +1 -0
- package/base/menu/index.js +19 -0
- package/base/message/index.d.ts +2 -0
- package/base/message/index.d.ts.map +1 -0
- package/base/message/index.js +23 -0
- package/base/paginator/index.d.ts +2 -0
- package/base/paginator/index.d.ts.map +1 -0
- package/base/paginator/index.js +16 -0
- package/base/popover/index.d.ts +2 -0
- package/base/popover/index.d.ts.map +1 -0
- package/base/popover/index.js +43 -0
- package/base/progress/index.d.ts +2 -0
- package/base/progress/index.d.ts.map +1 -0
- package/base/progress/index.js +41 -0
- package/base/scroller/index.d.ts +2 -0
- package/base/scroller/index.d.ts.map +1 -0
- package/base/scroller/index.js +39 -0
- package/base/select/index.d.ts +2 -0
- package/base/select/index.d.ts.map +1 -0
- package/base/select/index.js +34 -0
- package/base/select-button/index.d.ts +2 -0
- package/base/select-button/index.d.ts.map +1 -0
- package/base/select-button/index.js +13 -0
- package/base/slider/index.d.ts +2 -0
- package/base/slider/index.d.ts.map +1 -0
- package/base/slider/index.js +65 -0
- package/base/spinner/index.d.ts +2 -0
- package/base/spinner/index.d.ts.map +1 -0
- package/base/spinner/index.js +29 -0
- package/base/splitter/index.d.ts +2 -0
- package/base/splitter/index.d.ts.map +1 -0
- package/base/splitter/index.js +58 -0
- package/base/switch/index.d.ts +2 -0
- package/base/switch/index.d.ts.map +1 -0
- package/base/switch/index.js +30 -0
- package/base/table/index.d.ts +15 -0
- package/base/table/index.d.ts.map +1 -0
- package/base/table/index.js +75 -0
- package/base/tabs/index.d.ts +2 -0
- package/base/tabs/index.d.ts.map +1 -0
- package/base/tabs/index.js +68 -0
- package/base/tag/index.d.ts +2 -0
- package/base/tag/index.d.ts.map +1 -0
- package/base/tag/index.js +23 -0
- package/base/toast/index.d.ts +2 -0
- package/base/toast/index.d.ts.map +1 -0
- package/base/toast/index.js +25 -0
- package/base/toggle-button/index.d.ts +2 -0
- package/base/toggle-button/index.d.ts.map +1 -0
- package/base/toggle-button/index.js +33 -0
- package/base/tooltip/index.d.ts +2 -0
- package/base/tooltip/index.d.ts.map +1 -0
- package/base/tooltip/index.js +85 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -0
- package/index.js +2 -0
- package/nova/accordion/index.d.ts +150 -0
- package/nova/accordion/index.d.ts.map +1 -0
- package/nova/accordion/index.js +19 -0
- package/nova/accordion-panel/index.d.ts +150 -0
- package/nova/accordion-panel/index.d.ts.map +1 -0
- package/nova/accordion-panel/index.js +74 -0
- package/nova/api/index.d.ts +3 -0
- package/nova/api/index.d.ts.map +1 -0
- package/nova/api/index.js +2 -0
- package/nova/api/movable.d.ts +2 -0
- package/nova/api/movable.d.ts.map +1 -0
- package/nova/api/movable.js +18 -0
- package/nova/api/resizable.d.ts +2 -0
- package/nova/api/resizable.d.ts.map +1 -0
- package/nova/api/resizable.js +13 -0
- package/nova/avatar/index.d.ts +299 -0
- package/nova/avatar/index.d.ts.map +1 -0
- package/nova/avatar/index.js +48 -0
- package/nova/base/animation.d.ts +21 -0
- package/nova/base/animation.d.ts.map +1 -0
- package/nova/base/animation.js +30 -0
- package/nova/base/colors.d.ts +244 -0
- package/nova/base/colors.d.ts.map +1 -0
- package/nova/base/colors.js +100 -0
- package/nova/base/font.d.ts +37 -0
- package/nova/base/font.d.ts.map +1 -0
- package/nova/base/font.js +46 -0
- package/nova/base/index.d.ts +6 -0
- package/nova/base/index.d.ts.map +1 -0
- package/nova/base/index.js +5 -0
- package/nova/base/shadow.d.ts +13 -0
- package/nova/base/shadow.d.ts.map +1 -0
- package/nova/base/shadow.js +22 -0
- package/nova/base/sizes.d.ts +29 -0
- package/nova/base/sizes.d.ts.map +1 -0
- package/nova/base/sizes.js +38 -0
- package/nova/breadcrumb/index.d.ts +150 -0
- package/nova/breadcrumb/index.d.ts.map +1 -0
- package/nova/breadcrumb/index.js +45 -0
- package/nova/button/index.d.ts +150 -0
- package/nova/button/index.d.ts.map +1 -0
- package/nova/button/index.js +105 -0
- package/nova/button-group/index.d.ts +150 -0
- package/nova/button-group/index.d.ts.map +1 -0
- package/nova/button-group/index.js +59 -0
- package/nova/calendar/index.d.ts +150 -0
- package/nova/calendar/index.d.ts.map +1 -0
- package/nova/calendar/index.js +98 -0
- package/nova/checkbox/index.d.ts +142 -0
- package/nova/checkbox/index.d.ts.map +1 -0
- package/nova/checkbox/index.js +65 -0
- package/nova/chip/index.d.ts +150 -0
- package/nova/chip/index.d.ts.map +1 -0
- package/nova/chip/index.js +78 -0
- package/nova/colors/index.d.ts +27 -0
- package/nova/colors/index.d.ts.map +1 -0
- package/nova/colors/index.js +18 -0
- package/nova/dialog/index.d.ts +155 -0
- package/nova/dialog/index.d.ts.map +1 -0
- package/nova/dialog/index.js +40 -0
- package/nova/drawer/index.d.ts +164 -0
- package/nova/drawer/index.d.ts.map +1 -0
- package/nova/drawer/index.js +77 -0
- package/nova/edit-inplace/index.d.ts +133 -0
- package/nova/edit-inplace/index.d.ts.map +1 -0
- package/nova/edit-inplace/index.js +48 -0
- package/nova/filter/index.d.ts +133 -0
- package/nova/filter/index.d.ts.map +1 -0
- package/nova/filter/index.js +52 -0
- package/nova/icon/index.d.ts +120 -0
- package/nova/icon/index.d.ts.map +1 -0
- package/nova/icon/index.js +12 -0
- package/nova/index.d.ts +5678 -0
- package/nova/index.d.ts.map +1 -0
- package/nova/index.js +108 -0
- package/nova/inplace/index.d.ts +133 -0
- package/nova/inplace/index.d.ts.map +1 -0
- package/nova/inplace/index.js +29 -0
- package/nova/input/index.d.ts +133 -0
- package/nova/input/index.d.ts.map +1 -0
- package/nova/input/index.js +12 -0
- package/nova/input-field/index.d.ts +159 -0
- package/nova/input-field/index.d.ts.map +1 -0
- package/nova/input-field/index.js +247 -0
- package/nova/input-mask/index.d.ts +133 -0
- package/nova/input-mask/index.d.ts.map +1 -0
- package/nova/input-mask/index.js +23 -0
- package/nova/item-view/index.d.ts +133 -0
- package/nova/item-view/index.d.ts.map +1 -0
- package/nova/item-view/index.js +16 -0
- package/nova/list-box/index.d.ts +150 -0
- package/nova/list-box/index.d.ts.map +1 -0
- package/nova/list-box/index.js +71 -0
- package/nova/menu/index.d.ts +133 -0
- package/nova/menu/index.d.ts.map +1 -0
- package/nova/menu/index.js +62 -0
- package/nova/message/index.d.ts +150 -0
- package/nova/message/index.d.ts.map +1 -0
- package/nova/message/index.js +46 -0
- package/nova/paginator/index.d.ts +133 -0
- package/nova/paginator/index.d.ts.map +1 -0
- package/nova/paginator/index.js +19 -0
- package/nova/popover/index.d.ts +147 -0
- package/nova/popover/index.d.ts.map +1 -0
- package/nova/popover/index.js +65 -0
- package/nova/progress/index.d.ts +142 -0
- package/nova/progress/index.d.ts.map +1 -0
- package/nova/progress/index.js +84 -0
- package/nova/scroller/index.d.ts +133 -0
- package/nova/scroller/index.d.ts.map +1 -0
- package/nova/scroller/index.js +12 -0
- package/nova/select/index.d.ts +133 -0
- package/nova/select/index.d.ts.map +1 -0
- package/nova/select/index.js +39 -0
- package/nova/select-button/index.d.ts +133 -0
- package/nova/select-button/index.d.ts.map +1 -0
- package/nova/select-button/index.js +17 -0
- package/nova/slider/index.d.ts +133 -0
- package/nova/slider/index.d.ts.map +1 -0
- package/nova/slider/index.js +98 -0
- package/nova/spinner/index.d.ts +133 -0
- package/nova/spinner/index.d.ts.map +1 -0
- package/nova/spinner/index.js +57 -0
- package/nova/splitter/index.d.ts +120 -0
- package/nova/splitter/index.d.ts.map +1 -0
- package/nova/splitter/index.js +37 -0
- package/nova/switch/index.d.ts +142 -0
- package/nova/switch/index.d.ts.map +1 -0
- package/nova/switch/index.js +61 -0
- package/nova/table/index.d.ts +150 -0
- package/nova/table/index.d.ts.map +1 -0
- package/nova/table/index.js +63 -0
- package/nova/tabs/index.d.ts +150 -0
- package/nova/tabs/index.d.ts.map +1 -0
- package/nova/tabs/index.js +80 -0
- package/nova/tag/index.d.ts +150 -0
- package/nova/tag/index.d.ts.map +1 -0
- package/nova/tag/index.js +34 -0
- package/nova/toast/index.d.ts +159 -0
- package/nova/toast/index.d.ts.map +1 -0
- package/nova/toast/index.js +92 -0
- package/nova/toggle-button/index.d.ts +159 -0
- package/nova/toggle-button/index.d.ts.map +1 -0
- package/nova/toggle-button/index.js +65 -0
- package/nova/tooltip/index.d.ts +142 -0
- package/nova/tooltip/index.d.ts.map +1 -0
- package/nova/tooltip/index.js +53 -0
- package/package.json +519 -0
- package/templates/accordion/index.d.ts +2 -0
- package/templates/accordion/index.d.ts.map +1 -0
- package/templates/accordion/index.js +5 -0
- package/templates/accordion-panel/index.d.ts +2 -0
- package/templates/accordion-panel/index.d.ts.map +1 -0
- package/templates/accordion-panel/index.js +13 -0
- package/templates/api/index.d.ts +3 -0
- package/templates/api/index.d.ts.map +1 -0
- package/templates/api/index.js +2 -0
- package/templates/api/movable.d.ts +2 -0
- package/templates/api/movable.d.ts.map +1 -0
- package/templates/api/movable.js +5 -0
- package/templates/api/resizable.d.ts +2 -0
- package/templates/api/resizable.d.ts.map +1 -0
- package/templates/api/resizable.js +5 -0
- package/templates/avatar/index.d.ts +3 -0
- package/templates/avatar/index.d.ts.map +1 -0
- package/templates/avatar/index.js +10 -0
- package/templates/breadcrumb/index.d.ts +2 -0
- package/templates/breadcrumb/index.d.ts.map +1 -0
- package/templates/breadcrumb/index.js +8 -0
- package/templates/button/index.d.ts +2 -0
- package/templates/button/index.d.ts.map +1 -0
- package/templates/button/index.js +5 -0
- package/templates/button-group/index.d.ts +2 -0
- package/templates/button-group/index.d.ts.map +1 -0
- package/templates/button-group/index.js +8 -0
- package/templates/calendar/index.d.ts +2 -0
- package/templates/calendar/index.d.ts.map +1 -0
- package/templates/calendar/index.js +36 -0
- package/templates/checkbox/index.d.ts +2 -0
- package/templates/checkbox/index.d.ts.map +1 -0
- package/templates/checkbox/index.js +15 -0
- package/templates/chip/index.d.ts +2 -0
- package/templates/chip/index.d.ts.map +1 -0
- package/templates/chip/index.js +13 -0
- package/templates/dialog/index.d.ts +2 -0
- package/templates/dialog/index.d.ts.map +1 -0
- package/templates/dialog/index.js +16 -0
- package/templates/drawer/index.d.ts +2 -0
- package/templates/drawer/index.d.ts.map +1 -0
- package/templates/drawer/index.js +15 -0
- package/templates/edit-inplace/index.d.ts +2 -0
- package/templates/edit-inplace/index.d.ts.map +1 -0
- package/templates/edit-inplace/index.js +17 -0
- package/templates/filter/index.d.ts +2 -0
- package/templates/filter/index.d.ts.map +1 -0
- package/templates/filter/index.js +31 -0
- package/templates/global/index.d.ts +2 -0
- package/templates/global/index.d.ts.map +1 -0
- package/templates/global/index.js +5 -0
- package/templates/icon/index.d.ts +2 -0
- package/templates/icon/index.d.ts.map +1 -0
- package/templates/icon/index.js +5 -0
- package/templates/index.d.ts +46 -0
- package/templates/index.d.ts.map +1 -0
- package/templates/index.js +0 -0
- package/templates/inplace/index.d.ts +2 -0
- package/templates/inplace/index.d.ts.map +1 -0
- package/templates/inplace/index.js +5 -0
- package/templates/input/index.d.ts +3 -0
- package/templates/input/index.d.ts.map +1 -0
- package/templates/input/index.js +6 -0
- package/templates/input-field/index.d.ts +2 -0
- package/templates/input-field/index.d.ts.map +1 -0
- package/templates/input-field/index.js +16 -0
- package/templates/input-mask/index.d.ts +3 -0
- package/templates/input-mask/index.d.ts.map +1 -0
- package/templates/input-mask/index.js +9 -0
- package/templates/item-view/index.d.ts +2 -0
- package/templates/item-view/index.d.ts.map +1 -0
- package/templates/item-view/index.js +13 -0
- package/templates/list-box/index.d.ts +2 -0
- package/templates/list-box/index.d.ts.map +1 -0
- package/templates/list-box/index.js +19 -0
- package/templates/menu/index.d.ts +2 -0
- package/templates/menu/index.d.ts.map +1 -0
- package/templates/menu/index.js +7 -0
- package/templates/message/index.d.ts +2 -0
- package/templates/message/index.d.ts.map +1 -0
- package/templates/message/index.js +5 -0
- package/templates/paginator/index.d.ts +2 -0
- package/templates/paginator/index.d.ts.map +1 -0
- package/templates/paginator/index.js +8 -0
- package/templates/popover/index.d.ts +2 -0
- package/templates/popover/index.d.ts.map +1 -0
- package/templates/popover/index.js +5 -0
- package/templates/progress/index.d.ts +2 -0
- package/templates/progress/index.d.ts.map +1 -0
- package/templates/progress/index.js +5 -0
- package/templates/scroller/index.d.ts +2 -0
- package/templates/scroller/index.d.ts.map +1 -0
- package/templates/scroller/index.js +5 -0
- package/templates/select/index.d.ts +2 -0
- package/templates/select/index.d.ts.map +1 -0
- package/templates/select/index.js +20 -0
- package/templates/select-button/index.d.ts +2 -0
- package/templates/select-button/index.d.ts.map +1 -0
- package/templates/select-button/index.js +5 -0
- package/templates/slider/index.d.ts +2 -0
- package/templates/slider/index.d.ts.map +1 -0
- package/templates/slider/index.js +5 -0
- package/templates/spinner/index.d.ts +2 -0
- package/templates/spinner/index.d.ts.map +1 -0
- package/templates/spinner/index.js +5 -0
- package/templates/splitter/index.d.ts +2 -0
- package/templates/splitter/index.d.ts.map +1 -0
- package/templates/splitter/index.js +14 -0
- package/templates/switch/index.d.ts +2 -0
- package/templates/switch/index.d.ts.map +1 -0
- package/templates/switch/index.js +5 -0
- package/templates/table/index.d.ts +2 -0
- package/templates/table/index.d.ts.map +1 -0
- package/templates/table/index.js +35 -0
- package/templates/tabs/index.d.ts +2 -0
- package/templates/tabs/index.d.ts.map +1 -0
- package/templates/tabs/index.js +15 -0
- package/templates/tag/index.d.ts +2 -0
- package/templates/tag/index.d.ts.map +1 -0
- package/templates/tag/index.js +5 -0
- package/templates/toast/index.d.ts +2 -0
- package/templates/toast/index.d.ts.map +1 -0
- package/templates/toast/index.js +14 -0
- package/templates/toggle-button/index.d.ts +2 -0
- package/templates/toggle-button/index.d.ts.map +1 -0
- package/templates/toggle-button/index.js +6 -0
- package/templates/tooltip/index.d.ts +2 -0
- package/templates/tooltip/index.d.ts.map +1 -0
- package/templates/tooltip/index.js +20 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-part.d.ts","sourceRoot":"","sources":["../../../../src/api/theme/theme-part.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {} from './control-template';
|
|
2
|
+
import {} from './scoped';
|
|
3
|
+
import {} from './variable';
|
|
4
|
+
import {} from './variable-template';
|
|
5
|
+
export function createThemePart(init) {
|
|
6
|
+
return {
|
|
7
|
+
scope: init.scope ?? init.controlTemplate?.scope ?? '',
|
|
8
|
+
controlTemplate: init.controlTemplate,
|
|
9
|
+
variables: init.variables,
|
|
10
|
+
base: init.base,
|
|
11
|
+
dependencies: init.dependencies,
|
|
12
|
+
root: init.root,
|
|
13
|
+
light: init.light,
|
|
14
|
+
dark: init.dark,
|
|
15
|
+
highContrast: init.highContrast,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ThemePart } from './theme-part';
|
|
2
|
+
export type Theme<P extends ThemePart[] = ThemePart[], KINDS extends Record<string, readonly string[]> = Record<string, readonly string[]>, COLORS extends readonly string[] = readonly string[]> = {
|
|
3
|
+
readonly name: string;
|
|
4
|
+
readonly parts: P;
|
|
5
|
+
readonly meta: {
|
|
6
|
+
kinds?: KINDS;
|
|
7
|
+
colors?: COLORS;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare function createTheme<P extends ThemePart[], KINDS extends Record<string, readonly string[]>, COLORS extends readonly string[]>(name: string, parts: P, metadata?: {
|
|
11
|
+
kinds?: KINDS;
|
|
12
|
+
colors?: COLORS;
|
|
13
|
+
}): Theme<P, KINDS>;
|
|
14
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/api/theme/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,KAAK,CACf,CAAC,SAAS,SAAS,EAAE,GAAG,SAAS,EAAE,EACnC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,EACnF,MAAM,SAAS,SAAS,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,IAClD;IACF,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAClB,QAAQ,CAAC,IAAI,EAAE;QACb,KAAK,CAAC,EAAE,KAAK,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAGF,wBAAgB,WAAW,CACzB,CAAC,SAAS,SAAS,EAAE,EACrB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,EAC/C,MAAM,SAAS,SAAS,MAAM,EAAE,EAChC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,CAAC,EAAE;IAAE,KAAK,CAAC,EAAE,KAAK,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CASxF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {} from './theme-part';
|
|
2
|
+
// TODO: Check that all dependencies are available in the parts
|
|
3
|
+
export function createTheme(name, parts, metadata) {
|
|
4
|
+
return {
|
|
5
|
+
name,
|
|
6
|
+
parts,
|
|
7
|
+
meta: {
|
|
8
|
+
kinds: metadata?.kinds,
|
|
9
|
+
colors: metadata?.colors,
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type Scoped } from './scoped';
|
|
2
|
+
import { type TemplateVariable } from './template-variable';
|
|
3
|
+
import { type VariableKeys, type VariableValues } from './variable';
|
|
4
|
+
export type VariableTemplate<S extends string = string, V extends Record<string, TemplateVariable<null>> = Record<string, TemplateVariable<null>>> = Scoped<S> & {
|
|
5
|
+
readonly variables: V;
|
|
6
|
+
readonly defaults?: Record<string, TemplateVariable<string>>;
|
|
7
|
+
readonly __varkeys: VariableKeys<S, V>;
|
|
8
|
+
};
|
|
9
|
+
export declare function createVariableTemplate<S extends string, V extends Record<string, TemplateVariable<null>>>(init: {
|
|
10
|
+
scope: S;
|
|
11
|
+
variables: V;
|
|
12
|
+
defaults?: VariableValues<V, VariableKeys<S, V>>;
|
|
13
|
+
}): VariableTemplate<S, V>;
|
|
14
|
+
//# sourceMappingURL=variable-template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variable-template.d.ts","sourceRoot":"","sources":["../../../../src/api/theme/variable-template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAEpE,MAAM,MAAM,gBAAgB,CAC1B,CAAC,SAAS,MAAM,GAAG,MAAM,EACzB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAAC,IACvF,MAAM,CAAC,CAAC,CAAC,GAAG;IACd,QAAQ,CAAC,SAAS,EAAE,CAAC,CAAC;IACtB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7D,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;CACxC,CAAC;AAEF,wBAAgB,sBAAsB,CACpC,CAAC,SAAS,MAAM,EAChB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAAC,EAChD,IAAI,EAAE;IACN,KAAK,EAAE,CAAC,CAAC;IACT,SAAS,EAAE,CAAC,CAAC;IACb,QAAQ,CAAC,EAAE,cAAc,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;CAClD,GAAG,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,CAMzB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type DeepKeys } from '../utils/deep-keys';
|
|
2
|
+
import { type SubKey } from '../utils/sub-key';
|
|
3
|
+
export type VariableKeys<S extends string, V> = SubKey<[S, DeepKeys<V>]>;
|
|
4
|
+
type KeySuggestion<T extends string> = Omit<string, `{${string}}`> | `{${T}}`;
|
|
5
|
+
export type VariableValues<TVariables extends object, TKeys extends string> = {
|
|
6
|
+
[K in keyof TVariables as K extends `__${string}` ? never : K]?: TVariables[K] extends object ? VariableValues<TVariables[K], TKeys> : KeySuggestion<TKeys>;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=variable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variable.d.ts","sourceRoot":"","sources":["../../../../src/api/theme/variable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEzE,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,MAAM,EAAE,IAAI,MAAM,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC;AAE9E,MAAM,MAAM,cAAc,CAAC,UAAU,SAAS,MAAM,EAAE,KAAK,SAAS,MAAM,IAAI;KAC3E,CAAC,IAAI,MAAM,UAAU,IAAI,CAAC,SAAS,KAAK,MAAM,EAAE,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,SAAS,MAAM,GACzF,cAAc,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,GACpC,aAAa,CAAC,KAAK,CAAC;CACzB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type _DeepKeys<T, MaxDepth extends number, P extends string = '', D extends null[] = []> = D['length'] extends MaxDepth ? never : T extends object ? {
|
|
2
|
+
[K in keyof T]-?: K extends string ? T[K] extends object ? _DeepKeys<T[K], MaxDepth, `${P}${K}.`, [...D, null]> : `${P}${K}` : never;
|
|
3
|
+
}[keyof T] : P;
|
|
4
|
+
export type DeepKeys<T, D extends number = 10> = _DeepKeys<T, D>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=deep-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deep-keys.d.ts","sourceRoot":"","sources":["../../../../src/api/utils/deep-keys.ts"],"names":[],"mappings":"AAAA,KAAK,SAAS,CACZ,CAAC,EACD,QAAQ,SAAS,MAAM,EACvB,CAAC,SAAS,MAAM,GAAG,EAAE,EACrB,CAAC,SAAS,IAAI,EAAE,GAAG,EAAE,IACnB,CAAC,CAAC,QAAQ,CAAC,SAAS,QAAQ,GAC5B,KAAK,GACL,CAAC,SAAS,MAAM,GACd;KACG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,GAC9B,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GACjB,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,GACpD,GAAG,CAAC,GAAG,CAAC,EAAE,GACZ,KAAK;CACV,CAAC,MAAM,CAAC,CAAC,GACV,CAAC,CAAC;AACR,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,EAAE,IAAI,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type _DeepMerge<T, M extends any[]> = T extends T ? M extends [infer A, ...infer R] ? never extends A ? _DeepMerge<T, R> : A extends object ? T extends object ? _DeepMerge<{
|
|
2
|
+
[K in keyof T | keyof A]: K extends keyof T ? K extends keyof A ? _DeepMerge<T[K], [A[K]]> : T[K] : K extends keyof A ? A[K] : never;
|
|
3
|
+
}, R> : _DeepMerge<A, R> : undefined extends A ? _DeepMerge<T | A, R> : _DeepMerge<A, R> : T : never;
|
|
4
|
+
export type DeepMerge<T extends object[]> = T extends [infer A, ...infer R] ? _DeepMerge<A, R> : never;
|
|
5
|
+
export declare function deepMerge<T extends object[]>(...objects: T): DeepMerge<T>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=deep-merge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deep-merge.d.ts","sourceRoot":"","sources":["../../../../src/api/utils/deep-merge.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,CAAC,CAAC,EAAE,CAAC,SAAS,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,GAC7C,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,GAAG,MAAM,CAAC,CAAC,GAC7B,KAAK,SAAS,CAAC,GACb,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,GAChB,CAAC,SAAS,MAAM,GACd,CAAC,SAAS,MAAM,GACd,UAAU,CACR;KACG,CAAC,IAAI,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GACvC,CAAC,SAAS,MAAM,CAAC,GACf,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GACxB,CAAC,CAAC,CAAC,CAAC,GACN,CAAC,SAAS,MAAM,CAAC,GACf,CAAC,CAAC,CAAC,CAAC,GACJ,KAAK;CACZ,EACD,CAAC,CACF,GACD,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,GAClB,SAAS,SAAS,CAAC,GACjB,UAAU,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GACpB,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,GACtB,CAAC,GACH,KAAK,CAAC;AACV,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,GAAG,MAAM,CAAC,CAAC,GACvE,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,GAChB,KAAK,CAAC;AAEV,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAiBzE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export function deepMerge(...objects) {
|
|
2
|
+
return objects.reduce((acc, obj) => {
|
|
3
|
+
if (typeof obj !== 'object' || obj === null) {
|
|
4
|
+
return acc;
|
|
5
|
+
}
|
|
6
|
+
Object.keys(obj).forEach(key => {
|
|
7
|
+
const value = obj[key];
|
|
8
|
+
if (Array.isArray(value)) {
|
|
9
|
+
acc[key] = [...(acc[key] || []), ...value];
|
|
10
|
+
}
|
|
11
|
+
else if (typeof value === 'object' && value !== null) {
|
|
12
|
+
acc[key] = deepMerge(acc[key] || {}, value);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
acc[key] = value;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
return acc;
|
|
19
|
+
}, {});
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deep-set.d.ts","sourceRoot":"","sources":["../../../../src/api/utils/deep-set.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAchE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export function deepSet(obj, path, value) {
|
|
2
|
+
const keys = path.split('.');
|
|
3
|
+
let current = obj;
|
|
4
|
+
keys.forEach(key => {
|
|
5
|
+
if (!current[key]) {
|
|
6
|
+
current[key] = {};
|
|
7
|
+
}
|
|
8
|
+
current = current[key];
|
|
9
|
+
});
|
|
10
|
+
const lastKey = keys[keys.length - 1];
|
|
11
|
+
if (!lastKey) {
|
|
12
|
+
throw new Error('Path cannot be empty');
|
|
13
|
+
}
|
|
14
|
+
current[lastKey] = value;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group-array-using.d.ts","sourceRoot":"","sources":["../../../../src/api/utils/group-array-using.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAU/F"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type SubKey<T extends readonly string[]> = T extends readonly [infer P, ...infer R] ? P extends string ? R extends readonly string[] ? P extends '' ? SubKey<R> : SubKey<R> extends '' ? P : `${P}.${SubKey<R>}` : never : never : '';
|
|
2
|
+
export declare function subKey<T extends readonly string[]>(...parts: T): SubKey<T>;
|
|
3
|
+
//# sourceMappingURL=sub-key.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sub-key.d.ts","sourceRoot":"","sources":["../../../../src/api/utils/sub-key.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,CAAC,CAAC,SAAS,SAAS,MAAM,EAAE,IAAI,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,EAAE,GAAG,MAAM,CAAC,CAAC,GACtF,CAAC,SAAS,MAAM,GACd,CAAC,SAAS,SAAS,MAAM,EAAE,GACzB,CAAC,SAAS,EAAE,GACV,MAAM,CAAC,CAAC,CAAC,GACT,MAAM,CAAC,CAAC,CAAC,SAAS,EAAE,GAClB,CAAC,GACD,GAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,GACvB,KAAK,GACP,KAAK,GACP,EAAE,CAAC;AAEP,wBAAgB,MAAM,CAAC,CAAC,SAAS,SAAS,MAAM,EAAE,EAAE,GAAG,KAAK,EAAE,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAI1E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"union-to-intersection.d.ts","sourceRoot":"","sources":["../../../../src/api/utils/union-to-intersection.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,KAAK,CAAC,SAAS,CACnF,CAAC,EAAE,MAAM,CAAC,KACP,GAAG,GACJ,CAAC,GACD,KAAK,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const accordionStyles: import("@ngneers/controls-themes").ThemePart<"accordion", import("@ngneers/controls-themes").ControlTemplate<"accordion", ["root"], readonly import("@ngneers/controls-themes").ControlTemplate<string, string[], readonly any[]>[]>, import("@ngneers/controls-themes").VariableTemplate<"accordion">[], []>;
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/accordion/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,+SAM1B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { createThemePart, css } from '@ngneers/controls-themes/api';
|
|
2
|
+
import { accordionControlTemplate } from '@ngneers/controls-themes/templates/accordion';
|
|
3
|
+
export const accordionStyles = createThemePart({
|
|
4
|
+
controlTemplate: accordionControlTemplate,
|
|
5
|
+
dependencies: [],
|
|
6
|
+
root: {
|
|
7
|
+
css: ({ v, c }) => css ``,
|
|
8
|
+
},
|
|
9
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const accordionPanelStyles: import("@ngneers/controls-themes").ThemePart<"accordion-panel", import("@ngneers/controls-themes").ControlTemplate<"accordion-panel", ["root", "header", "header-disabled", "header-text", "content-expander", "content-expander-collapsed", "content"], readonly import("@ngneers/controls-themes").ControlTemplate<string, string[], readonly any[]>[]>, import("@ngneers/controls-themes").VariableTemplate<"accordion-panel">[], []>;
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/accordion-panel/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,0aAwC/B,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createThemePart, css } from '@ngneers/controls-themes/api';
|
|
2
|
+
import { accordionPanelControlTemplate } from '@ngneers/controls-themes/templates/accordion-panel';
|
|
3
|
+
export const accordionPanelStyles = createThemePart({
|
|
4
|
+
controlTemplate: accordionPanelControlTemplate,
|
|
5
|
+
dependencies: [],
|
|
6
|
+
root: {
|
|
7
|
+
css: ({ v, c }) => css `
|
|
8
|
+
${c('root')} {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
${c('content-expander')} {
|
|
14
|
+
/**
|
|
15
|
+
* Nice css trick to animate from auto height to 0 without using (currently not well supported) 'interpolate-size'
|
|
16
|
+
* Source: https://css-tricks.com/css-grid-can-do-auto-height-transitions
|
|
17
|
+
*/
|
|
18
|
+
display: grid;
|
|
19
|
+
grid-template-rows: 1fr;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
}
|
|
22
|
+
${c('content')} {
|
|
23
|
+
min-height: 0;
|
|
24
|
+
ngn-defer {
|
|
25
|
+
display: block;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
${c('content-expander-collapsed')} {
|
|
29
|
+
grid-template-rows: 0fr;
|
|
30
|
+
}
|
|
31
|
+
${c('header')} {
|
|
32
|
+
display: flex;
|
|
33
|
+
width: 100%;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: space-between;
|
|
36
|
+
user-select: none;
|
|
37
|
+
&:focus-visible {
|
|
38
|
+
outline: none;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
`,
|
|
42
|
+
},
|
|
43
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const movableStyles: import("@ngneers/controls-themes").ThemePart<"movable", import("@ngneers/controls-themes").ControlTemplate<"movable", ["root", "movable", "moved", "drag-handle-grab", "drag-handle-grabbing"], readonly import("@ngneers/controls-themes").ControlTemplate<string, string[], readonly any[]>[]>, import("@ngneers/controls-themes").VariableTemplate<"movable">[], []>;
|
|
2
|
+
//# sourceMappingURL=movable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"movable.d.ts","sourceRoot":"","sources":["../../../../src/base/api/movable.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,yWAUxB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createThemePart, css } from '@ngneers/controls-themes/api';
|
|
2
|
+
import { movableDirectiveTemplate } from '@ngneers/controls-themes/templates/api';
|
|
3
|
+
export const movableStyles = createThemePart({
|
|
4
|
+
controlTemplate: movableDirectiveTemplate,
|
|
5
|
+
dependencies: [],
|
|
6
|
+
root: {
|
|
7
|
+
css: ({ v, c }) => css `
|
|
8
|
+
${c('drag-handle-grab')} {
|
|
9
|
+
user-select: none;
|
|
10
|
+
}
|
|
11
|
+
`,
|
|
12
|
+
},
|
|
13
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const resizableStyles: import("@ngneers/controls-themes").ThemePart<"resizable", import("@ngneers/controls-themes").ControlTemplate<"resizable", ["root", "resizable", "resized"], readonly import("@ngneers/controls-themes").ControlTemplate<string, string[], readonly any[]>[]>, import("@ngneers/controls-themes").VariableTemplate<"resizable">[], []>;
|
|
2
|
+
//# sourceMappingURL=resizable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../../src/base/api/resizable.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,uUAU1B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createThemePart, css } from '@ngneers/controls-themes/api';
|
|
2
|
+
import { resizableDirectiveTemplate } from '@ngneers/controls-themes/templates/api';
|
|
3
|
+
export const resizableStyles = createThemePart({
|
|
4
|
+
controlTemplate: resizableDirectiveTemplate,
|
|
5
|
+
dependencies: [],
|
|
6
|
+
root: {
|
|
7
|
+
css: ({ v, c }) => css `
|
|
8
|
+
${c('resizable')} {
|
|
9
|
+
resize: both;
|
|
10
|
+
}
|
|
11
|
+
`,
|
|
12
|
+
},
|
|
13
|
+
});
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
export declare const avatarStyles: import("@ngneers/controls-themes").ThemePart<"avatar", import("@ngneers/controls-themes").ControlTemplate<"avatar", ["root", "image", "initials", `kind-${string}`], readonly import("@ngneers/controls-themes").ControlTemplate<string, string[], readonly any[]>[]>, import("@ngneers/controls-themes").VariableTemplate<"avatar">[], []>;
|
|
2
|
+
export declare const avatarGroupStyles: import("@ngneers/controls-themes").ThemePart<"avatar-group", import("@ngneers/controls-themes").ControlTemplate<"avatar-group", ["root", `kind-${string}`], readonly [import("@ngneers/controls-themes").ControlTemplate<"avatar", ["root", "image", "initials", `kind-${string}`], readonly import("@ngneers/controls-themes").ControlTemplate<string, string[], readonly any[]>[]>]>, import("@ngneers/controls-themes").VariableTemplate<"avatar-group">[], [import("@ngneers/controls-themes").VariableTemplate<"color", {
|
|
3
|
+
background: null;
|
|
4
|
+
border: null;
|
|
5
|
+
text: null;
|
|
6
|
+
disabled: {
|
|
7
|
+
text: null;
|
|
8
|
+
border: null;
|
|
9
|
+
background: null;
|
|
10
|
+
};
|
|
11
|
+
invalid: {
|
|
12
|
+
text: null;
|
|
13
|
+
border: null;
|
|
14
|
+
background: null;
|
|
15
|
+
};
|
|
16
|
+
accent: {
|
|
17
|
+
'50': null;
|
|
18
|
+
'100': null;
|
|
19
|
+
'200': null;
|
|
20
|
+
'300': null;
|
|
21
|
+
'400': null;
|
|
22
|
+
'500': null;
|
|
23
|
+
'600': null;
|
|
24
|
+
'700': null;
|
|
25
|
+
'800': null;
|
|
26
|
+
'900': null;
|
|
27
|
+
'950': null;
|
|
28
|
+
};
|
|
29
|
+
error: {
|
|
30
|
+
'50': null;
|
|
31
|
+
'100': null;
|
|
32
|
+
'200': null;
|
|
33
|
+
'300': null;
|
|
34
|
+
'400': null;
|
|
35
|
+
'500': null;
|
|
36
|
+
'600': null;
|
|
37
|
+
'700': null;
|
|
38
|
+
'800': null;
|
|
39
|
+
'900': null;
|
|
40
|
+
'950': null;
|
|
41
|
+
};
|
|
42
|
+
info: {
|
|
43
|
+
'50': null;
|
|
44
|
+
'100': null;
|
|
45
|
+
'200': null;
|
|
46
|
+
'300': null;
|
|
47
|
+
'400': null;
|
|
48
|
+
'500': null;
|
|
49
|
+
'600': null;
|
|
50
|
+
'700': null;
|
|
51
|
+
'800': null;
|
|
52
|
+
'900': null;
|
|
53
|
+
'950': null;
|
|
54
|
+
};
|
|
55
|
+
primary: {
|
|
56
|
+
'50': null;
|
|
57
|
+
'100': null;
|
|
58
|
+
'200': null;
|
|
59
|
+
'300': null;
|
|
60
|
+
'400': null;
|
|
61
|
+
'500': null;
|
|
62
|
+
'600': null;
|
|
63
|
+
'700': null;
|
|
64
|
+
'800': null;
|
|
65
|
+
'900': null;
|
|
66
|
+
'950': null;
|
|
67
|
+
};
|
|
68
|
+
secondary: {
|
|
69
|
+
'50': null;
|
|
70
|
+
'100': null;
|
|
71
|
+
'200': null;
|
|
72
|
+
'300': null;
|
|
73
|
+
'400': null;
|
|
74
|
+
'500': null;
|
|
75
|
+
'600': null;
|
|
76
|
+
'700': null;
|
|
77
|
+
'800': null;
|
|
78
|
+
'900': null;
|
|
79
|
+
'950': null;
|
|
80
|
+
};
|
|
81
|
+
success: {
|
|
82
|
+
'50': null;
|
|
83
|
+
'100': null;
|
|
84
|
+
'200': null;
|
|
85
|
+
'300': null;
|
|
86
|
+
'400': null;
|
|
87
|
+
'500': null;
|
|
88
|
+
'600': null;
|
|
89
|
+
'700': null;
|
|
90
|
+
'800': null;
|
|
91
|
+
'900': null;
|
|
92
|
+
'950': null;
|
|
93
|
+
};
|
|
94
|
+
surface: {
|
|
95
|
+
'50': null;
|
|
96
|
+
'100': null;
|
|
97
|
+
'200': null;
|
|
98
|
+
'300': null;
|
|
99
|
+
'400': null;
|
|
100
|
+
'500': null;
|
|
101
|
+
'600': null;
|
|
102
|
+
'700': null;
|
|
103
|
+
'800': null;
|
|
104
|
+
'900': null;
|
|
105
|
+
'950': null;
|
|
106
|
+
};
|
|
107
|
+
warning: {
|
|
108
|
+
'50': null;
|
|
109
|
+
'100': null;
|
|
110
|
+
'200': null;
|
|
111
|
+
'300': null;
|
|
112
|
+
'400': null;
|
|
113
|
+
'500': null;
|
|
114
|
+
'600': null;
|
|
115
|
+
'700': null;
|
|
116
|
+
'800': null;
|
|
117
|
+
'900': null;
|
|
118
|
+
'950': null;
|
|
119
|
+
};
|
|
120
|
+
}>, import("@ngneers/controls-themes").VariableTemplate<"size", {
|
|
121
|
+
rounded: {
|
|
122
|
+
sm: null;
|
|
123
|
+
md: null;
|
|
124
|
+
lg: null;
|
|
125
|
+
full: null;
|
|
126
|
+
};
|
|
127
|
+
padding: {
|
|
128
|
+
sm: null;
|
|
129
|
+
md: null;
|
|
130
|
+
lg: null;
|
|
131
|
+
xl: null;
|
|
132
|
+
};
|
|
133
|
+
}>, import("@ngneers/controls-themes").VariableTemplate<"font", {
|
|
134
|
+
weight: {
|
|
135
|
+
normal: null;
|
|
136
|
+
medium: null;
|
|
137
|
+
semibold: null;
|
|
138
|
+
bold: null;
|
|
139
|
+
extrabold: null;
|
|
140
|
+
black: null;
|
|
141
|
+
};
|
|
142
|
+
size: {
|
|
143
|
+
xs: null;
|
|
144
|
+
sm: null;
|
|
145
|
+
md: null;
|
|
146
|
+
lg: null;
|
|
147
|
+
xl: null;
|
|
148
|
+
'2xl': null;
|
|
149
|
+
};
|
|
150
|
+
}>]>;
|
|
151
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/avatar/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY,6UA8BvB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAM5B,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { createThemePart, css } from '@ngneers/controls-themes/api';
|
|
2
|
+
import { colorsTemplate, fontTemplate, sizesTemplate } from '@ngneers/controls-themes/nova/base';
|
|
3
|
+
import { avatarControlTemplate, avatarGroupControlTemplate, } from '@ngneers/controls-themes/templates/avatar';
|
|
4
|
+
export const avatarStyles = createThemePart({
|
|
5
|
+
controlTemplate: avatarControlTemplate,
|
|
6
|
+
dependencies: [],
|
|
7
|
+
root: {
|
|
8
|
+
css: ({ v, c }) => css `
|
|
9
|
+
${c('root')} {
|
|
10
|
+
width: var(--size);
|
|
11
|
+
height: var(--size);
|
|
12
|
+
flex-shrink: 0;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
vertical-align: middle;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
}
|
|
19
|
+
${c('initials')} {
|
|
20
|
+
font-size: calc(var(--size) / -12 * var(--letterCount) + var(--size) * 0.7);
|
|
21
|
+
line-height: 1;
|
|
22
|
+
font-family: monospace;
|
|
23
|
+
user-select: none;
|
|
24
|
+
}
|
|
25
|
+
${c('image')} {
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 100%;
|
|
28
|
+
object-fit: cover;
|
|
29
|
+
object-position: center;
|
|
30
|
+
display: block;
|
|
31
|
+
}
|
|
32
|
+
`,
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
export const avatarGroupStyles = createThemePart({
|
|
36
|
+
controlTemplate: avatarGroupControlTemplate,
|
|
37
|
+
dependencies: [colorsTemplate, sizesTemplate, fontTemplate],
|
|
38
|
+
root: {
|
|
39
|
+
css: ({ v, c, d }) => css ``,
|
|
40
|
+
},
|
|
41
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const breadcrumbStyles: import("@ngneers/controls-themes").ThemePart<"breadcrumb", import("@ngneers/controls-themes").ControlTemplate<"breadcrumb", ["root", "item", "item-clickable", "separator", "overflow"], readonly [import("@ngneers/controls-themes").ControlTemplate<"item-view", ["root", "item", "item-overflowing", "more-items", "more-items-hidden", "more-items-default", "hidden-separator"], readonly import("@ngneers/controls-themes").ControlTemplate<string, string[], readonly any[]>[]>, import("@ngneers/controls-themes").ControlTemplate<"menu", ["root", "submenu", "popover", "item", "item-opened", "icon-children", "separator"], readonly [import("@ngneers/controls-themes").ControlTemplate<"popover", ["root", "content", "content-closing", "anim-in", "anim-out"], readonly import("@ngneers/controls-themes").ControlTemplate<string, string[], readonly any[]>[]>]>]>, import("@ngneers/controls-themes").VariableTemplate<"breadcrumb">[], []>;
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/breadcrumb/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,+5BAuB3B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { createThemePart, css } from '@ngneers/controls-themes/api';
|
|
2
|
+
import { breadcrumbControlTemplate } from '@ngneers/controls-themes/templates/breadcrumb';
|
|
3
|
+
export const breadcrumbStyles = createThemePart({
|
|
4
|
+
controlTemplate: breadcrumbControlTemplate,
|
|
5
|
+
dependencies: [],
|
|
6
|
+
root: {
|
|
7
|
+
css: ({ v, c, d }) => css `
|
|
8
|
+
${c('root')} {
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
user-select: none;
|
|
12
|
+
width: 100%;
|
|
13
|
+
}
|
|
14
|
+
${c('separator')} {
|
|
15
|
+
display: inline-flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
ngn-icon {
|
|
18
|
+
display: flex;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
${c('item')}, ${c('overflow')} {
|
|
22
|
+
display: inline-block;
|
|
23
|
+
}
|
|
24
|
+
`,
|
|
25
|
+
},
|
|
26
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const buttonStyles: import("@ngneers/controls-themes").ThemePart<"button", import("@ngneers/controls-themes").ControlTemplate<"button", ["root", "inline", "loading", `kind-${string}`, `color-${string}`], readonly import("@ngneers/controls-themes").ControlTemplate<string, string[], readonly any[]>[]>, import("@ngneers/controls-themes").VariableTemplate<"button">[], []>;
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/button/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,gWAUvB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createThemePart, css } from '@ngneers/controls-themes/api';
|
|
2
|
+
import { buttonControlTemplate } from '@ngneers/controls-themes/templates/button';
|
|
3
|
+
export const buttonStyles = createThemePart({
|
|
4
|
+
controlTemplate: buttonControlTemplate,
|
|
5
|
+
dependencies: [],
|
|
6
|
+
root: {
|
|
7
|
+
css: ({ v, c }) => css `
|
|
8
|
+
${c('root')} {
|
|
9
|
+
font-family: inherit;
|
|
10
|
+
}
|
|
11
|
+
`,
|
|
12
|
+
},
|
|
13
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const buttonGroupStyles: import("@ngneers/controls-themes").ThemePart<"button-group", import("@ngneers/controls-themes").ControlTemplate<"button-group", ["root", "vertical", "horizontal"], readonly [import("@ngneers/controls-themes").ControlTemplate<"button", ["root", "inline", "loading", `kind-${string}`, `color-${string}`], readonly import("@ngneers/controls-themes").ControlTemplate<string, string[], readonly any[]>[]>, import("@ngneers/controls-themes").ControlTemplate<"toggle-button", ["root", "invalid", "button", "label", "active", "placeholder", "placeholder-active"], readonly []>]>, import("@ngneers/controls-themes").VariableTemplate<"button-group">[], []>;
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/button-group/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,woBA2B5B,CAAC"}
|