@vev/silke 1.0.18 → 1.0.19
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/CHANGELOG.md +7 -0
- package/dist/{chunk-SOFGXMET.js → chunk-FIPWO3IB.js} +3 -3
- package/dist/{chunk-SOFGXMET.js.map → chunk-FIPWO3IB.js.map} +1 -1
- package/dist/index.js +21 -22
- package/dist/index.js.LEGAL.txt +7 -7
- package/dist/index.js.map +4 -4
- package/dist/silke/src/components/index.d.ts +54 -0
- package/dist/silke/src/components/silke-autocomplete-field/autocomplete-item.d.ts +19 -0
- package/dist/silke/src/components/silke-autocomplete-field/autocomplete-tags.d.ts +9 -0
- package/dist/silke/src/components/silke-autocomplete-field/autocomplete-types.d.ts +55 -0
- package/dist/silke/src/components/silke-autocomplete-field/index.d.ts +5 -0
- package/dist/silke/src/components/silke-autocomplete-field/silke-autocomplete-field.d.ts +50 -0
- package/dist/silke/src/components/silke-box/index.d.ts +1 -0
- package/dist/silke/src/components/silke-box/silke-box.d.ts +121 -0
- package/dist/silke/src/components/silke-breadcrumbs/index.d.ts +2 -0
- package/dist/silke/src/components/silke-breadcrumbs/silke-breadcrumb.d.ts +10 -0
- package/dist/silke/src/components/silke-breadcrumbs/silke-breadcrumbs.d.ts +7 -0
- package/dist/silke/src/components/silke-button/context.d.ts +14 -0
- package/dist/silke/src/components/silke-button/index.d.ts +7 -0
- package/dist/silke/src/components/silke-button/silke-big-button.d.ts +13 -0
- package/dist/silke/src/components/silke-button/silke-button-set.d.ts +11 -0
- package/dist/silke/src/components/silke-button/silke-button.d.ts +39 -0
- package/dist/silke/src/components/silke-button/silke-confirmation-button.d.ts +8 -0
- package/dist/silke/src/components/silke-button/silke-file-select-button.d.ts +9 -0
- package/dist/silke/src/components/silke-card/index.d.ts +2 -0
- package/dist/silke/src/components/silke-card/silke-card-grid.d.ts +10 -0
- package/dist/silke/src/components/silke-card/silke-card.d.ts +24 -0
- package/dist/silke/src/components/silke-checkbox/index.d.ts +1 -0
- package/dist/silke/src/components/silke-checkbox/silke-checkbox.d.ts +11 -0
- package/dist/silke/src/components/silke-code-editor/index.d.ts +3 -0
- package/dist/silke/src/components/silke-code-editor/silke-code-editor.d.ts +8 -0
- package/dist/silke/src/components/silke-code-snippet/index.d.ts +1 -0
- package/dist/silke/src/components/silke-code-snippet/silke-code-snippet.d.ts +17 -0
- package/dist/silke/src/components/silke-color-palettes/index.d.ts +2 -0
- package/dist/silke/src/components/silke-color-palettes/silke-color-palette.d.ts +12 -0
- package/dist/silke/src/components/silke-color-palettes/silke-color-palettes.d.ts +8 -0
- package/dist/silke/src/components/silke-color-picker/color.d.ts +31 -0
- package/dist/silke/src/components/silke-color-picker/hue.d.ts +7 -0
- package/dist/silke/src/components/silke-color-picker/index.d.ts +4 -0
- package/dist/silke/src/components/silke-color-picker/silke-color-info.d.ts +9 -0
- package/dist/silke/src/components/silke-color-picker/silke-color-picker-button.d.ts +11 -0
- package/dist/silke/src/components/silke-color-picker/silke-color-picker.d.ts +17 -0
- package/dist/silke/src/components/silke-color-picker/silke-color-space.d.ts +11 -0
- package/dist/silke/src/components/silke-color-picker/silke-hue-slider.d.ts +7 -0
- package/dist/silke/src/components/silke-color-picker/silke-opacity-slider.d.ts +8 -0
- package/dist/silke/src/components/silke-color-swatches/index.d.ts +2 -0
- package/dist/silke/src/components/silke-color-swatches/silke-color-swatch-button.d.ts +6 -0
- package/dist/silke/src/components/silke-color-swatches/silke-swatches.d.ts +25 -0
- package/dist/silke/src/components/silke-color-swatches/utils.d.ts +12 -0
- package/dist/silke/src/components/silke-content-column/index.d.ts +1 -0
- package/dist/silke/src/components/silke-content-column/silke-content-column.d.ts +7 -0
- package/dist/silke/src/components/silke-context-menu/index.d.ts +2 -0
- package/dist/silke/src/components/silke-context-menu/silke-contect-menu-hooks.d.ts +0 -0
- package/dist/silke/src/components/silke-context-menu/silke-context-menu-item.d.ts +12 -0
- package/dist/silke/src/components/silke-context-menu/silke-context-menu.d.ts +15 -0
- package/dist/silke/src/components/silke-css-number-field/index.d.ts +2 -0
- package/dist/silke/src/components/silke-css-number-field/silke-css-context.d.ts +29 -0
- package/dist/silke/src/components/silke-css-number-field/silke-css-number-field.d.ts +15 -0
- package/dist/silke/src/components/silke-css-number-field/utils.d.ts +32 -0
- package/dist/silke/src/components/silke-divider/index.d.ts +1 -0
- package/dist/silke/src/components/silke-divider/silke-divider.d.ts +13 -0
- package/dist/silke/src/components/silke-drawer/index.d.ts +1 -0
- package/dist/silke/src/components/silke-drawer/silke-drawer.d.ts +12 -0
- package/dist/silke/src/components/silke-form/form-context.d.ts +26 -0
- package/dist/silke/src/components/silke-form/form-types.d.ts +44 -0
- package/dist/silke/src/components/silke-form/index.d.ts +2 -0
- package/dist/silke/src/components/silke-form/silke-form.d.ts +22 -0
- package/dist/silke/src/components/silke-form-schema/fields/array-field-inline.d.ts +12 -0
- package/dist/silke/src/components/silke-form-schema/fields/array-field-modal.d.ts +13 -0
- package/dist/silke/src/components/silke-form-schema/fields/array-field.d.ts +4 -0
- package/dist/silke/src/components/silke-form-schema/fields/event-field.d.ts +4 -0
- package/dist/silke/src/components/silke-form-schema/fields/icon-field.d.ts +4 -0
- package/dist/silke/src/components/silke-form-schema/fields/image-field.d.ts +4 -0
- package/dist/silke/src/components/silke-form-schema/fields/layout-field.d.ts +3 -0
- package/dist/silke/src/components/silke-form-schema/fields/link-field.d.ts +4 -0
- package/dist/silke/src/components/silke-form-schema/fields/number-field.d.ts +4 -0
- package/dist/silke/src/components/silke-form-schema/fields/object-field.d.ts +3 -0
- package/dist/silke/src/components/silke-form-schema/fields/select-field.d.ts +4 -0
- package/dist/silke/src/components/silke-form-schema/fields/string-field.d.ts +4 -0
- package/dist/silke/src/components/silke-form-schema/fields/toggle-field.d.ts +4 -0
- package/dist/silke/src/components/silke-form-schema/fields/upload-field.d.ts +4 -0
- package/dist/silke/src/components/silke-form-schema/fields/utils/generate-image.d.ts +3 -0
- package/dist/silke/src/components/silke-form-schema/fields/utils/generate-title.d.ts +7 -0
- package/dist/silke/src/components/silke-form-schema/fields/utils/index.d.ts +2 -0
- package/dist/silke/src/components/silke-form-schema/fields/utils/schema-util.d.ts +2 -0
- package/dist/silke/src/components/silke-form-schema/index.d.ts +4 -0
- package/dist/silke/src/components/silke-form-schema/safe-eval/iframe-handler.d.ts +17 -0
- package/dist/silke/src/components/silke-form-schema/safe-eval/index.d.ts +1 -0
- package/dist/silke/src/components/silke-form-schema/safe-eval/safe-eval.d.ts +1 -0
- package/dist/silke/src/components/silke-form-schema/schema-utils.d.ts +11 -0
- package/dist/silke/src/components/silke-form-schema/silke-extended-fields-context.d.ts +13 -0
- package/dist/silke/src/components/silke-form-schema/silke-form-schema.d.ts +13 -0
- package/dist/silke/src/components/silke-form-schema/silke-schema-context.d.ts +9 -0
- package/dist/silke/src/components/silke-form-schema/silke-schema-field.d.ts +10 -0
- package/dist/silke/src/components/silke-form-schema/silke-schema-fields.d.ts +14 -0
- package/dist/silke/src/components/silke-gradient-picker/index.d.ts +1 -0
- package/dist/silke/src/components/silke-gradient-picker/silke-gradient-picker.d.ts +5 -0
- package/dist/silke/src/components/silke-gradient-picker/silke-gradient-position.d.ts +8 -0
- package/dist/silke/src/components/silke-gradient-picker/silke-gradient-slider.d.ts +10 -0
- package/dist/silke/src/components/silke-gradient-picker/silke-gradient-utils.d.ts +14 -0
- package/dist/silke/src/components/silke-icon/index.d.ts +2 -0
- package/dist/silke/src/components/silke-icon/silke-icon.d.ts +11 -0
- package/dist/silke/src/components/silke-icon/silke-shape.d.ts +8 -0
- package/dist/silke/src/components/silke-icon/silke-stacked-icon.d.ts +8 -0
- package/dist/silke/src/components/silke-icon-picker/emoji-tab.d.ts +3 -0
- package/dist/silke/src/components/silke-icon-picker/icons-tab.d.ts +3 -0
- package/dist/silke/src/components/silke-icon-picker/index.d.ts +1 -0
- package/dist/silke/src/components/silke-icon-picker/silke-icon-picker.d.ts +12 -0
- package/dist/silke/src/components/silke-icon-picker/upload-tab.d.ts +3 -0
- package/dist/silke/src/components/silke-icon-picker/utils.d.ts +5 -0
- package/dist/silke/src/components/silke-iframe-portal/index.d.ts +4 -0
- package/dist/silke/src/components/silke-iframe-portal/silke-iframe-context.d.ts +7 -0
- package/dist/silke/src/components/silke-iframe-portal/silke-iframe-css-link.d.ts +5 -0
- package/dist/silke/src/components/silke-iframe-portal/silke-iframe-portal.d.ts +10 -0
- package/dist/silke/src/components/silke-iframe-portal/silke-iframe-script.d.ts +6 -0
- package/dist/silke/src/components/silke-image/index.d.ts +2 -0
- package/dist/silke/src/components/silke-image/silke-image-color-backdrop.d.ts +7 -0
- package/dist/silke/src/components/silke-image/silke-image.d.ts +11 -0
- package/dist/silke/src/components/silke-link/index.d.ts +1 -0
- package/dist/silke/src/components/silke-link/silke-link.d.ts +23 -0
- package/dist/silke/src/components/silke-list/index.d.ts +2 -0
- package/dist/silke/src/components/silke-list/silke-list-item.d.ts +7 -0
- package/dist/silke/src/components/silke-list/silke-list.d.ts +10 -0
- package/dist/silke/src/components/silke-list-card/index.d.ts +1 -0
- package/dist/silke/src/components/silke-list-card/silke-list-card.d.ts +14 -0
- package/dist/silke/src/components/silke-loader/index.d.ts +2 -0
- package/dist/silke/src/components/silke-loader/silke-loader-overlay.d.ts +18 -0
- package/dist/silke/src/components/silke-loader/silke-loader.d.ts +18 -0
- package/dist/silke/src/components/silke-modal/index.d.ts +2 -0
- package/dist/silke/src/components/silke-modal/silke-confirmation-modal.d.ts +31 -0
- package/dist/silke/src/components/silke-modal/silke-modal.d.ts +18 -0
- package/dist/silke/src/components/silke-navigation-link/index.d.ts +1 -0
- package/dist/silke/src/components/silke-navigation-link/silke-navigation-link.d.ts +22 -0
- package/dist/silke/src/components/silke-notification/confetti.d.ts +2 -0
- package/dist/silke/src/components/silke-notification/index.d.ts +1 -0
- package/dist/silke/src/components/silke-notification/silke-notification.d.ts +22 -0
- package/dist/silke/src/components/silke-object-field/index.d.ts +1 -0
- package/dist/silke/src/components/silke-object-field/silke-object-field.d.ts +17 -0
- package/dist/silke/src/components/silke-overflow-menu/index.d.ts +1 -0
- package/dist/silke/src/components/silke-overflow-menu/silke-overflow-menu.d.ts +21 -0
- package/dist/silke/src/components/silke-popover/index.d.ts +1 -0
- package/dist/silke/src/components/silke-popover/popover-context.d.ts +8 -0
- package/dist/silke/src/components/silke-popover/silke-popover.d.ts +48 -0
- package/dist/silke/src/components/silke-progress-indicator/index.d.ts +2 -0
- package/dist/silke/src/components/silke-progress-indicator/silke-progress-indicator.d.ts +7 -0
- package/dist/silke/src/components/silke-progress-indicator/silke-progress-step.d.ts +11 -0
- package/dist/silke/src/components/silke-radio-button/index.d.ts +2 -0
- package/dist/silke/src/components/silke-radio-button/silke-radio-button-group.d.ts +15 -0
- package/dist/silke/src/components/silke-radio-button/silke-radio-button.d.ts +10 -0
- package/dist/silke/src/components/silke-search-field/index.d.ts +1 -0
- package/dist/silke/src/components/silke-search-field/silke-search-field.d.ts +8 -0
- package/dist/silke/src/components/silke-select-field/index.d.ts +1 -0
- package/dist/silke/src/components/silke-select-field/silke-select-field.d.ts +5 -0
- package/dist/silke/src/components/silke-skeleton/index.d.ts +1 -0
- package/dist/silke/src/components/silke-skeleton/silke-skeleton.d.ts +8 -0
- package/dist/silke/src/components/silke-slider/index.d.ts +1 -0
- package/dist/silke/src/components/silke-slider/silke-slider-point.d.ts +14 -0
- package/dist/silke/src/components/silke-slider/silke-slider-utils.d.ts +2 -0
- package/dist/silke/src/components/silke-slider/silke-slider.d.ts +20 -0
- package/dist/silke/src/components/silke-slider/slider-track.d.ts +9 -0
- package/dist/silke/src/components/silke-sortable-list/index.d.ts +2 -0
- package/dist/silke/src/components/silke-sortable-list/silke-nested-sortable-item.d.ts +16 -0
- package/dist/silke/src/components/silke-sortable-list/silke-nested-sortable-list.d.ts +25 -0
- package/dist/silke/src/components/silke-sortable-list/silke-nested-sortable-utils.d.ts +57 -0
- package/dist/silke/src/components/silke-sortable-list/silke-sortable-item-wrapper.d.ts +12 -0
- package/dist/silke/src/components/silke-sortable-list/silke-sortable-list.d.ts +15 -0
- package/dist/silke/src/components/silke-steps/index.d.ts +1 -0
- package/dist/silke/src/components/silke-steps/silke-steps.d.ts +12 -0
- package/dist/silke/src/components/silke-table/index.d.ts +2 -0
- package/dist/silke/src/components/silke-table/silke-table.d.ts +27 -0
- package/dist/silke/src/components/silke-table/table-row.d.ts +13 -0
- package/dist/silke/src/components/silke-table/table-types.d.ts +13 -0
- package/dist/silke/src/components/silke-tabs/index.d.ts +2 -0
- package/dist/silke/src/components/silke-tabs/silke-tab.d.ts +12 -0
- package/dist/silke/src/components/silke-tabs/silke-tabs.d.ts +10 -0
- package/dist/silke/src/components/silke-tag/index.d.ts +1 -0
- package/dist/silke/src/components/silke-tag/silke-tag.d.ts +40 -0
- package/dist/silke/src/components/silke-text/index.d.ts +3 -0
- package/dist/silke/src/components/silke-text/silke-text-types.d.ts +28 -0
- package/dist/silke/src/components/silke-text/silke-text.d.ts +275 -0
- package/dist/silke/src/components/silke-text/silke-title.d.ts +3 -0
- package/dist/silke/src/components/silke-text-field/index.d.ts +3 -0
- package/dist/silke/src/components/silke-text-field/silke-text-field-item.d.ts +8 -0
- package/dist/silke/src/components/silke-text-field/silke-text-field-outline.d.ts +39 -0
- package/dist/silke/src/components/silke-text-field/silke-text-field.d.ts +27 -0
- package/dist/silke/src/components/silke-text-field/text-field-context.d.ts +9 -0
- package/dist/silke/src/components/silke-theme-editor/index.d.ts +1 -0
- package/dist/silke/src/components/silke-theme-editor/silke-theme-editor.d.ts +9 -0
- package/dist/silke/src/components/silke-tile/index.d.ts +2 -0
- package/dist/silke/src/components/silke-tile/silke-tile-select.d.ts +26 -0
- package/dist/silke/src/components/silke-tile/silke-tile.d.ts +38 -0
- package/dist/silke/src/components/silke-toggle/index.d.ts +1 -0
- package/dist/silke/src/components/silke-toggle/silke-toggle.d.ts +12 -0
- package/dist/silke/src/components/silke-toolbar/index.d.ts +1 -0
- package/dist/silke/src/components/silke-toolbar/silke-toolbar.d.ts +7 -0
- package/dist/silke/src/components/silke-tooltip/index.d.ts +5 -0
- package/dist/silke/src/components/silke-tooltip/silke-definition-tooltip.d.ts +16 -0
- package/dist/silke/src/components/silke-tooltip/silke-icon-tooltip.d.ts +17 -0
- package/dist/silke/src/components/silke-tooltip/silke-interactive-tooltip.d.ts +24 -0
- package/dist/silke/src/components/silke-tooltip/silke-shortcuts.d.ts +37 -0
- package/dist/silke/src/components/silke-tooltip/silke-tooltip.d.ts +25 -0
- package/dist/silke/src/components/silke-tooltip/utils.d.ts +1 -0
- package/dist/silke/src/components/silke-upload-field/index.d.ts +1 -0
- package/dist/silke/src/components/silke-upload-field/silke-upload-field.d.ts +32 -0
- package/dist/silke/src/components/silke-virtual/index.d.ts +2 -0
- package/dist/silke/src/components/silke-virtual/silke-virtual-grid.d.ts +9 -0
- package/dist/silke/src/components/silke-virtual/silke-virtual-row.d.ts +10 -0
- package/dist/silke/src/docs/app.d.ts +4 -0
- package/dist/silke/src/docs/components/code-block/code-block.d.ts +6 -0
- package/dist/silke/src/docs/components/code-block/index.d.ts +1 -0
- package/dist/silke/src/docs/components/state-table/index.d.ts +1 -0
- package/dist/silke/src/docs/components/state-table/state-table.d.ts +14 -0
- package/dist/silke/src/docs/data/app/actions.d.ts +1 -0
- package/dist/silke/src/docs/data/app/constants.d.ts +6 -0
- package/dist/silke/src/docs/data/app/index.d.ts +3 -0
- package/dist/silke/src/docs/data/app/store.d.ts +8 -0
- package/dist/silke/src/docs/data/flux/action-decorator.d.ts +5 -0
- package/dist/silke/src/docs/data/flux/action-utils.d.ts +7 -0
- package/dist/silke/src/docs/data/flux/controller.d.ts +24 -0
- package/dist/silke/src/docs/data/flux/dispatcher.d.ts +7 -0
- package/dist/silke/src/docs/data/flux/index.d.ts +6 -0
- package/dist/silke/src/docs/data/flux/store.d.ts +15 -0
- package/dist/silke/src/docs/data/flux/use-store.d.ts +2 -0
- package/dist/silke/src/docs/docs-provider.d.ts +6 -0
- package/dist/silke/src/docs/index.d.ts +2 -0
- package/dist/silke/src/docs/ipsum-generator.d.ts +7 -0
- package/dist/silke/src/helpers/copy-to-clipboard.d.ts +5 -0
- package/dist/silke/src/helpers/key-code.d.ts +9 -0
- package/dist/silke/src/hooks/drag-and-drop/index.d.ts +2 -0
- package/dist/silke/src/hooks/drag-and-drop/use-drag.d.ts +10 -0
- package/dist/silke/src/hooks/drag-and-drop/use-drop.d.ts +8 -0
- package/dist/silke/src/hooks/form/index.d.ts +1 -0
- package/dist/silke/src/hooks/form/use-form-field.d.ts +5 -0
- package/dist/silke/src/hooks/image-colors/use-image-colors.d.ts +10 -0
- package/dist/silke/src/hooks/index.d.ts +13 -0
- package/dist/silke/src/hooks/use-callback-ref.d.ts +2 -0
- package/dist/silke/src/hooks/use-dragging.d.ts +1 -0
- package/dist/silke/src/hooks/use-drop-zone.d.ts +2 -0
- package/dist/silke/src/hooks/use-html-element.d.ts +2 -0
- package/dist/silke/src/hooks/use-interval.d.ts +6 -0
- package/dist/silke/src/hooks/use-mouse.d.ts +40 -0
- package/dist/silke/src/hooks/use-parent-scroll.d.ts +2 -0
- package/dist/silke/src/hooks/use-scroll.d.ts +1 -0
- package/dist/silke/src/hooks/use-size.d.ts +4 -0
- package/dist/silke/src/hooks/use-uniq-id.d.ts +1 -0
- package/dist/silke/src/hooks/use-window-resize.d.ts +1 -0
- package/dist/silke/src/icons.d.ts +353 -0
- package/dist/silke/src/index.d.ts +5 -0
- package/dist/silke/src/main.d.ts +1 -0
- package/dist/silke/src/silke-theme-provider.d.ts +16 -0
- package/dist/silke-code-editor-HB2Z4Q5W.js +25 -0
- package/dist/silke-code-editor-HB2Z4Q5W.js.map +7 -0
- package/dist/styles.css +622 -661
- package/dist/utils/src/color/hex.d.ts +2 -0
- package/dist/utils/src/color/index.d.ts +1 -0
- package/dist/utils/src/constants.d.ts +2 -0
- package/dist/utils/src/css/computed-to-css.d.ts +8 -0
- package/dist/utils/src/css/computed.d.ts +5 -0
- package/dist/utils/src/css/index.d.ts +4 -0
- package/dist/utils/src/css/number-format.d.ts +1 -0
- package/dist/utils/src/css/utils.d.ts +14 -0
- package/dist/utils/src/events/condition-parser/evaluate-condition-expression.d.ts +2 -0
- package/dist/utils/src/events/condition-parser/index.d.ts +1 -0
- package/dist/utils/src/events/condition-parser/lexer.d.ts +36 -0
- package/dist/utils/src/events/condition-parser/parser.d.ts +11 -0
- package/dist/utils/src/index.d.ts +10 -0
- package/dist/utils/src/interactions/get-node-type.d.ts +2 -0
- package/dist/utils/src/interactions/has-link.d.ts +5 -0
- package/dist/utils/src/interactions/has-pointer-event.d.ts +5 -0
- package/dist/utils/src/interactions/index.d.ts +5 -0
- package/dist/utils/src/interactions/is-target-global.d.ts +2 -0
- package/dist/utils/src/interactions/is-trigger-global.d.ts +2 -0
- package/dist/utils/src/keyboard/hooks.d.ts +8 -0
- package/dist/utils/src/keyboard/index.d.ts +4 -0
- package/dist/utils/src/keyboard/key-list.d.ts +4 -0
- package/dist/utils/src/keyboard/keyboard.d.ts +70 -0
- package/dist/utils/src/keyboard/keys.d.ts +4 -0
- package/dist/utils/src/math/index.d.ts +9 -0
- package/dist/utils/src/mouse/index.d.ts +3 -0
- package/dist/utils/src/mouse/mouse-manager.d.ts +52 -0
- package/dist/utils/src/types/content.d.ts +11 -0
- package/dist/utils/src/types/context.d.ts +74 -0
- package/dist/utils/src/types/css.d.ts +131 -0
- package/dist/utils/src/types/editable-css.d.ts +7 -0
- package/dist/utils/src/types/emoji.d.ts +28 -0
- package/dist/utils/src/types/event.d.ts +7 -0
- package/dist/utils/src/types/icon.d.ts +10 -0
- package/dist/utils/src/types/index.d.ts +17 -0
- package/dist/utils/src/types/interaction.d.ts +77 -0
- package/dist/utils/src/types/link.d.ts +47 -0
- package/dist/utils/src/types/manifest.d.ts +54 -0
- package/dist/utils/src/types/project.d.ts +23 -0
- package/dist/utils/src/types/shape.d.ts +20 -0
- package/dist/utils/src/types/transition.d.ts +15 -0
- package/dist/utils/src/types/vev-plugin.d.ts +30 -0
- package/dist/utils/src/types/vev-props.d.ts +154 -0
- package/dist/utils/src/types/widget-manifest.d.ts +69 -0
- package/dist/utils/src/types/widget.d.ts +36 -0
- package/dist/utils/src/utils/generate-guid.d.ts +1 -0
- package/dist/utils/src/utils/index.d.ts +7 -0
- package/dist/utils/src/utils/internals/asciiToArray.d.ts +9 -0
- package/dist/utils/src/utils/internals/castSlice.d.ts +11 -0
- package/dist/utils/src/utils/internals/createCaseFirst.d.ts +9 -0
- package/dist/utils/src/utils/internals/getTag.d.ts +9 -0
- package/dist/utils/src/utils/internals/hasUnicode.d.ts +9 -0
- package/dist/utils/src/utils/internals/stringToArray.d.ts +9 -0
- package/dist/utils/src/utils/internals/unicodeToArray.d.ts +9 -0
- package/dist/utils/src/utils/internals/unicodeWords.d.ts +9 -0
- package/dist/utils/src/utils/internals/upperFirst.d.ts +18 -0
- package/dist/utils/src/utils/is-array.d.ts +25 -0
- package/dist/utils/src/utils/is-length.d.ts +26 -0
- package/dist/utils/src/utils/is-string.d.ts +17 -0
- package/dist/utils/src/utils/slice.d.ts +22 -0
- package/dist/utils/src/utils/start-case.d.ts +22 -0
- package/dist/utils/src/utils/string.d.ts +5 -0
- package/dist/utils/src/utils/words.d.ts +18 -0
- package/package.json +7 -7
- package/src/components/index.ts +1 -0
- package/src/components/silke-autocomplete-field/autocomplete-tags.tsx +1 -1
- package/src/components/silke-autocomplete-field/index.ts +4 -0
- package/src/components/silke-autocomplete-field/silke-autocomplete-field.tsx +4 -1
- package/src/components/silke-card/silke-card-grid.tsx +18 -15
- package/src/components/silke-card/silke-card.mdx +56 -23
- package/src/components/silke-card/silke-card.scss +150 -115
- package/src/components/silke-card/silke-card.tsx +173 -112
- package/src/components/silke-color-picker/color-picker.scss +29 -24
- package/src/components/silke-color-picker/hue.ts +72 -0
- package/src/components/silke-color-picker/index.ts +2 -1
- package/src/components/silke-color-picker/silke-color-picker.mdx +18 -0
- package/src/components/silke-color-picker/silke-color-picker.tsx +5 -5
- package/src/components/silke-color-picker/silke-color-space.tsx +0 -2
- package/src/components/silke-color-picker/silke-hue-slider.tsx +23 -8
- package/src/components/silke-color-picker/silke-opacity-slider.tsx +10 -12
- package/src/components/silke-content-column/silke-content-column.scss +2 -37
- package/src/components/silke-context-menu/silke-context-menu.tsx +1 -2
- package/src/components/silke-form/form-context.tsx +5 -5
- package/src/components/silke-form/form-types.ts +1 -0
- package/src/components/silke-form/silke-form.tsx +1 -1
- package/src/components/silke-form-schema/fields/array-field.tsx +2 -2
- package/src/components/silke-form-schema/fields/number-field.tsx +40 -27
- package/src/components/silke-form-schema/fields/select-field.tsx +3 -8
- package/src/components/silke-form-schema/fields/string-field.tsx +29 -15
- package/src/components/silke-form-schema/fields/styles.scss +3 -1
- package/src/components/silke-form-schema/fields/toggle-field.tsx +2 -3
- package/src/components/silke-form-schema/fields/upload-field.tsx +2 -4
- package/src/components/silke-form-schema/fields/utils/generate-title.ts +3 -3
- package/src/components/silke-form-schema/silke-form-schema.tsx +7 -2
- package/src/components/silke-form-schema/silke-schema-context.tsx +5 -2
- package/src/components/silke-form-schema/silke-schema-field.tsx +36 -40
- package/src/components/silke-form-schema/silke-schema-fields.tsx +39 -14
- package/src/components/silke-gradient-picker/index.ts +1 -0
- package/src/components/silke-gradient-picker/silke-gradient-picker.mdx +13 -0
- package/src/components/silke-gradient-picker/silke-gradient-picker.module.scss +71 -0
- package/src/components/silke-gradient-picker/silke-gradient-picker.tsx +71 -0
- package/src/components/silke-gradient-picker/silke-gradient-position.tsx +160 -0
- package/src/components/silke-gradient-picker/silke-gradient-slider.tsx +57 -0
- package/src/components/silke-gradient-picker/silke-gradient-utils.ts +132 -0
- package/src/components/silke-image/index.ts +1 -0
- package/src/components/silke-image/silke-image-color-backdrop.scss +10 -0
- package/src/components/silke-image/silke-image-color-backdrop.tsx +32 -0
- package/src/components/silke-image/silke-image.tsx +6 -2
- package/src/components/silke-modal/silke-confirmation-modal.tsx +33 -11
- package/src/components/silke-modal/silke-modal.mdx +24 -0
- package/src/components/silke-navigation-link/silke-navigation-link.tsx +83 -76
- package/src/components/silke-object-field/silke-object-field.tsx +1 -1
- package/src/components/silke-overflow-menu/silke-overflow-menu.tsx +1 -0
- package/src/components/silke-radio-button/silke-radio-button-group.tsx +6 -23
- package/src/components/silke-slider/index.ts +0 -1
- package/src/components/silke-slider/silke-slider-point.tsx +43 -0
- package/src/components/silke-slider/silke-slider-utils.ts +32 -0
- package/src/components/silke-slider/silke-slider.mdx +45 -0
- package/src/components/silke-slider/silke-slider.module.scss +71 -0
- package/src/components/silke-slider/silke-slider.tsx +160 -66
- package/src/components/silke-slider/slider-track.tsx +26 -0
- package/src/components/silke-sortable-list/silke-sortable-item-wrapper.tsx +3 -0
- package/src/components/silke-sortable-list/silke-sortable-list.scss +8 -8
- package/src/components/silke-sortable-list/silke-sortable-list.tsx +24 -7
- package/src/components/silke-table/silke-table.tsx +5 -5
- package/src/components/silke-tag/silke-tag.scss +107 -118
- package/src/components/silke-tag/silke-tag.tsx +8 -4
- package/src/components/silke-text/silke-text-types.ts +5 -6
- package/src/components/silke-text/silke-text.mdx +45 -11
- package/src/components/silke-text/silke-text.scss +40 -19
- package/src/components/silke-text/silke-text.tsx +10 -16
- package/src/components/silke-text/silke-title.scss +36 -57
- package/src/components/silke-text/silke-title.tsx +27 -17
- package/src/components/silke-text-field/silke-text-field.scss +0 -1
- package/src/components/silke-text-field/silke-text-field.tsx +6 -3
- package/src/components/silke-tooltip/silke-tooltip.tsx +3 -0
- package/src/components/silke-upload-field/silke-upload-field.tsx +16 -9
- package/src/docs/data/flux/action-decorator.ts +4 -4
- package/src/docs/data/flux/store.ts +4 -2
- package/src/hooks/drag-and-drop/use-drag.tsx +5 -3
- package/src/hooks/form/use-form-field.ts +4 -0
- package/src/hooks/image-colors/use-image-colors.ts +83 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-dragging.ts +24 -0
- package/src/icons.tsx +3 -16
- package/src/styles/core.scss +0 -48
- package/tsconfig.json +1 -0
- package/dist/silke-code-editor-LBP2WDX3.js +0 -25
- package/dist/silke-code-editor-LBP2WDX3.js.map +0 -7
- package/src/components/silke-slider/range-slider.scss +0 -52
- package/src/components/silke-slider/silke-range-slider.tsx +0 -108
- package/src/components/silke-text/silke-text-utils.ts +0 -8
- /package/dist/{chunk-SOFGXMET.js.LEGAL.txt → chunk-FIPWO3IB.js.LEGAL.txt} +0 -0
- /package/dist/{silke-code-editor-LBP2WDX3.js.LEGAL.txt → silke-code-editor-HB2Z4Q5W.js.LEGAL.txt} +0 -0
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const SilkeIconDefinitions: {
|
|
3
|
+
add(): React.JSX.Element;
|
|
4
|
+
check: string;
|
|
5
|
+
'check.circle': string;
|
|
6
|
+
close: string;
|
|
7
|
+
delete: string;
|
|
8
|
+
edit: string;
|
|
9
|
+
'edit.pen': string;
|
|
10
|
+
error: string;
|
|
11
|
+
help: string;
|
|
12
|
+
'check.circle.outline': string;
|
|
13
|
+
play: string;
|
|
14
|
+
emoji: string;
|
|
15
|
+
'emoji.add': typeof AddEmoji;
|
|
16
|
+
mention: string;
|
|
17
|
+
share: string;
|
|
18
|
+
'cloud.check': string;
|
|
19
|
+
'cloud.slash': string;
|
|
20
|
+
menuMore: string;
|
|
21
|
+
menu: string;
|
|
22
|
+
drag: string;
|
|
23
|
+
'drag.dots': string;
|
|
24
|
+
remove: string;
|
|
25
|
+
'error.circle': string;
|
|
26
|
+
'warning.triangle': string;
|
|
27
|
+
tooltip: string;
|
|
28
|
+
email: string;
|
|
29
|
+
password: string;
|
|
30
|
+
undo: string;
|
|
31
|
+
redo: string;
|
|
32
|
+
history: string;
|
|
33
|
+
rollback: string;
|
|
34
|
+
settings: string;
|
|
35
|
+
search: string;
|
|
36
|
+
'search.file': string;
|
|
37
|
+
filter: string;
|
|
38
|
+
copy: string;
|
|
39
|
+
paste: string;
|
|
40
|
+
random: string;
|
|
41
|
+
question: string;
|
|
42
|
+
send: string;
|
|
43
|
+
link: string;
|
|
44
|
+
unlink: string;
|
|
45
|
+
'link.external': string;
|
|
46
|
+
flag: string;
|
|
47
|
+
sum: string;
|
|
48
|
+
lock: string;
|
|
49
|
+
unlock: string;
|
|
50
|
+
compress: string;
|
|
51
|
+
upload: string;
|
|
52
|
+
crop: string;
|
|
53
|
+
repeat: string;
|
|
54
|
+
rotate: string;
|
|
55
|
+
square: string;
|
|
56
|
+
shapes: string;
|
|
57
|
+
sharedStyle: string;
|
|
58
|
+
firefox: string;
|
|
59
|
+
'square.dashed': string;
|
|
60
|
+
hashtag: string;
|
|
61
|
+
eye: string;
|
|
62
|
+
'eye.off': string;
|
|
63
|
+
'mouse.pointer': string;
|
|
64
|
+
'mouse.drag': string;
|
|
65
|
+
dot: string;
|
|
66
|
+
'dots.vertical': string;
|
|
67
|
+
'dots.horizontal': string;
|
|
68
|
+
star: string;
|
|
69
|
+
eyeDropper: string;
|
|
70
|
+
log: string;
|
|
71
|
+
dashboard: string;
|
|
72
|
+
test: string;
|
|
73
|
+
guest: string;
|
|
74
|
+
'network.on': string;
|
|
75
|
+
'network.off': string;
|
|
76
|
+
grid: string;
|
|
77
|
+
notification: string;
|
|
78
|
+
'notification.new': string;
|
|
79
|
+
package: string;
|
|
80
|
+
'package.open': string;
|
|
81
|
+
'select.all': string;
|
|
82
|
+
'select.some.square': string;
|
|
83
|
+
'select.all.square': string;
|
|
84
|
+
ban: string;
|
|
85
|
+
'error.triangle': string;
|
|
86
|
+
folder: string;
|
|
87
|
+
'folder.download': string;
|
|
88
|
+
'folder.open': string;
|
|
89
|
+
'folder.plus': string;
|
|
90
|
+
folders: string;
|
|
91
|
+
file: string;
|
|
92
|
+
'file.arrow.up': string;
|
|
93
|
+
'file.download': string;
|
|
94
|
+
code: string;
|
|
95
|
+
'code.version': string;
|
|
96
|
+
'code.fork': string;
|
|
97
|
+
'code.compare': string;
|
|
98
|
+
'code.history': string;
|
|
99
|
+
'keyboard.command': string;
|
|
100
|
+
'keyboard.option': string;
|
|
101
|
+
'keyboard.shift': string;
|
|
102
|
+
'keyboard.backspace': string;
|
|
103
|
+
'keyboard.enter': string;
|
|
104
|
+
'keyboard.escape': string;
|
|
105
|
+
arrows: string;
|
|
106
|
+
'arrow.down': string;
|
|
107
|
+
'arrow.left': string;
|
|
108
|
+
'arrow.right': string;
|
|
109
|
+
'arrow.up': string;
|
|
110
|
+
'arrow.up.circle': string;
|
|
111
|
+
'chevron.down': string;
|
|
112
|
+
'chevron.up': string;
|
|
113
|
+
'chevron.right': string;
|
|
114
|
+
'arrow.up.right': string;
|
|
115
|
+
'caret.down': string;
|
|
116
|
+
'caret.up': string;
|
|
117
|
+
'caret.right': string;
|
|
118
|
+
'caret.left': string;
|
|
119
|
+
'arrows.vertical.line': string;
|
|
120
|
+
'arrows.horizontal.line': string;
|
|
121
|
+
'arrow.left.arrow.right': string;
|
|
122
|
+
'arrows.horizontal': string;
|
|
123
|
+
'arrows-up-down': string;
|
|
124
|
+
'arrows-left-right': string;
|
|
125
|
+
'arrows-from-line-vertical': string;
|
|
126
|
+
'arrows-from-line-horizontal': string;
|
|
127
|
+
'arrow.up.line': string;
|
|
128
|
+
'arrow.down.line': string;
|
|
129
|
+
'arrow.left.line': string;
|
|
130
|
+
'arrow.right.line': string;
|
|
131
|
+
'arrow.from.right': string;
|
|
132
|
+
'arrow.from.left': string;
|
|
133
|
+
minimize: string;
|
|
134
|
+
'fixed-width': typeof FixedWidth;
|
|
135
|
+
'fixed-height': typeof FixedHeight;
|
|
136
|
+
down: string;
|
|
137
|
+
left: string;
|
|
138
|
+
right: string;
|
|
139
|
+
up: string;
|
|
140
|
+
sync: string;
|
|
141
|
+
exchange: string;
|
|
142
|
+
comment: string;
|
|
143
|
+
'comment.new': typeof CommentNew;
|
|
144
|
+
commentMarker: string;
|
|
145
|
+
template: string;
|
|
146
|
+
page: string;
|
|
147
|
+
project: string;
|
|
148
|
+
projects: string;
|
|
149
|
+
draft: string;
|
|
150
|
+
account: string;
|
|
151
|
+
user: string;
|
|
152
|
+
'user.add': string;
|
|
153
|
+
'user.secret': string;
|
|
154
|
+
'user.history': string;
|
|
155
|
+
integrations: typeof IntegrationsIcon;
|
|
156
|
+
users: string;
|
|
157
|
+
'users-class': string;
|
|
158
|
+
team: string;
|
|
159
|
+
workspace: string;
|
|
160
|
+
admin: string;
|
|
161
|
+
hosting: string;
|
|
162
|
+
publish: string;
|
|
163
|
+
support: string;
|
|
164
|
+
'plan.free': string;
|
|
165
|
+
'plan.creative': string;
|
|
166
|
+
'plan.teams': string;
|
|
167
|
+
'plan.enterprise': string;
|
|
168
|
+
'support.standard': string;
|
|
169
|
+
'support.premium': string;
|
|
170
|
+
address: string;
|
|
171
|
+
'credit-card': string;
|
|
172
|
+
money: string;
|
|
173
|
+
dynamic: string;
|
|
174
|
+
'editor.design': string;
|
|
175
|
+
'editor.content': string;
|
|
176
|
+
'editor.code': string;
|
|
177
|
+
'editor.preview': string;
|
|
178
|
+
gradient: typeof GradientIcon;
|
|
179
|
+
image: string;
|
|
180
|
+
video: string;
|
|
181
|
+
fill: string;
|
|
182
|
+
opacity: string;
|
|
183
|
+
'object.group': string;
|
|
184
|
+
'object.ungroup': string;
|
|
185
|
+
pin: string;
|
|
186
|
+
'main-component': typeof MainComponent;
|
|
187
|
+
section: typeof Section;
|
|
188
|
+
frame: string;
|
|
189
|
+
'frame.row': string;
|
|
190
|
+
'frame.column': string;
|
|
191
|
+
layers: string;
|
|
192
|
+
addon: string;
|
|
193
|
+
widget: string;
|
|
194
|
+
form: string;
|
|
195
|
+
'curly-brackets': string;
|
|
196
|
+
expand: string;
|
|
197
|
+
'request.feature': string;
|
|
198
|
+
'custom-component': typeof CustomComponentIcon;
|
|
199
|
+
'folder-tree': string;
|
|
200
|
+
'project-plan': string;
|
|
201
|
+
diamond: string;
|
|
202
|
+
crosshair: string;
|
|
203
|
+
'align.text.right': string;
|
|
204
|
+
'align.text.left': string;
|
|
205
|
+
'align.text.center': string;
|
|
206
|
+
'align.text.justify': string;
|
|
207
|
+
'align.objects.top': string;
|
|
208
|
+
'align.objects.bottom': string;
|
|
209
|
+
'align.objects.left': string;
|
|
210
|
+
'align.objects.right': string;
|
|
211
|
+
'align.objects.center.horizontal': string;
|
|
212
|
+
'align.objects.center.vertical': string;
|
|
213
|
+
'align.objects.distribute.horizontal': string;
|
|
214
|
+
'align.objects.distribute.vertical': string;
|
|
215
|
+
'placement.center': typeof PlacementCenter;
|
|
216
|
+
'placement.top': typeof PlacementTop;
|
|
217
|
+
'placement.bottom': typeof PlacementBottom;
|
|
218
|
+
'rotate.left': string;
|
|
219
|
+
'rotate.right': string;
|
|
220
|
+
'flip.horizontal': typeof FlipIconHorizontal;
|
|
221
|
+
'flip.vertical': typeof FlipIconVertical;
|
|
222
|
+
'border.top': string;
|
|
223
|
+
'border.top.left': string;
|
|
224
|
+
'border.top.right': string;
|
|
225
|
+
'border.bottom': string;
|
|
226
|
+
'border.bottom.left': string;
|
|
227
|
+
'border.bottom.right': string;
|
|
228
|
+
'border.left': string;
|
|
229
|
+
'border.right': string;
|
|
230
|
+
'border.inner': string;
|
|
231
|
+
'border.outer': string;
|
|
232
|
+
'border.none': string;
|
|
233
|
+
'border.all': string;
|
|
234
|
+
'border.center.v': string;
|
|
235
|
+
'border.center.h': string;
|
|
236
|
+
plug: string;
|
|
237
|
+
refresh: string;
|
|
238
|
+
signout: string;
|
|
239
|
+
tag: string;
|
|
240
|
+
'file.export': string;
|
|
241
|
+
home: string;
|
|
242
|
+
qr: string;
|
|
243
|
+
list: string;
|
|
244
|
+
'list.ol': string;
|
|
245
|
+
'list.check': string;
|
|
246
|
+
table: string;
|
|
247
|
+
'table.layout': string;
|
|
248
|
+
text: string;
|
|
249
|
+
'text.subscript': string;
|
|
250
|
+
'text.superscript': string;
|
|
251
|
+
'text.strikethrough': string;
|
|
252
|
+
'text.underline': string;
|
|
253
|
+
'text.dropcap': typeof DropcapIcon;
|
|
254
|
+
'text.italic': string;
|
|
255
|
+
'text.bold': string;
|
|
256
|
+
'text.h1': string;
|
|
257
|
+
'text.h2': string;
|
|
258
|
+
'text.h3': string;
|
|
259
|
+
'text.h4': string;
|
|
260
|
+
'text.h5': string;
|
|
261
|
+
'text.h6': string;
|
|
262
|
+
'text.p': string;
|
|
263
|
+
'text.font': string;
|
|
264
|
+
'text.blockquote': string;
|
|
265
|
+
'text.table.header': string;
|
|
266
|
+
'text.column.add': typeof TableColumnAdd;
|
|
267
|
+
'text.column.remove': typeof TableColumnRemove;
|
|
268
|
+
'text.row.add': typeof TableRowAdd;
|
|
269
|
+
'text.row.remove': typeof TableRowRemove;
|
|
270
|
+
adobe: string;
|
|
271
|
+
facebook: string;
|
|
272
|
+
instagram: string;
|
|
273
|
+
youtube: string;
|
|
274
|
+
microsoft: string;
|
|
275
|
+
google: string;
|
|
276
|
+
discord: string;
|
|
277
|
+
wordpress: string;
|
|
278
|
+
magento: string;
|
|
279
|
+
joomla: string;
|
|
280
|
+
shopify: string;
|
|
281
|
+
figma: string;
|
|
282
|
+
ceros: typeof Ceros;
|
|
283
|
+
import: string;
|
|
284
|
+
stripe: string;
|
|
285
|
+
okta: string;
|
|
286
|
+
linkedin: string;
|
|
287
|
+
twitter: string;
|
|
288
|
+
react: string;
|
|
289
|
+
sass: string;
|
|
290
|
+
typescript: typeof TypescriptIcon;
|
|
291
|
+
html5: string;
|
|
292
|
+
'American Express': string;
|
|
293
|
+
Amex: string;
|
|
294
|
+
'Diners Club': string;
|
|
295
|
+
Discover: string;
|
|
296
|
+
JCB: string;
|
|
297
|
+
MasterCard: string;
|
|
298
|
+
Mastercard: string;
|
|
299
|
+
Visa: string;
|
|
300
|
+
UnionPay: string;
|
|
301
|
+
Unknown: string;
|
|
302
|
+
'desktop.large': string;
|
|
303
|
+
desktop: string;
|
|
304
|
+
laptop: string;
|
|
305
|
+
mobile: string;
|
|
306
|
+
tablet: string;
|
|
307
|
+
'device.custom': string;
|
|
308
|
+
bar: string;
|
|
309
|
+
line: string;
|
|
310
|
+
radar: string;
|
|
311
|
+
doughnut: string;
|
|
312
|
+
pie: string;
|
|
313
|
+
polarArea: string;
|
|
314
|
+
bubble: string;
|
|
315
|
+
scatter: string;
|
|
316
|
+
contentChild: string;
|
|
317
|
+
contentChildParent: typeof ContentChildParent;
|
|
318
|
+
'interaction.icon': string;
|
|
319
|
+
'interaction.active': string;
|
|
320
|
+
'interaction.inactive': string;
|
|
321
|
+
'interaction.click': string;
|
|
322
|
+
'interaction.double-click': string;
|
|
323
|
+
'interaction.arrow': string;
|
|
324
|
+
'interaction.mouse': string;
|
|
325
|
+
'interaction.mouse-enter': string;
|
|
326
|
+
'interaction.mouse-leave': string;
|
|
327
|
+
'interaction.timer': string;
|
|
328
|
+
};
|
|
329
|
+
declare function CustomComponentIcon({ className }: {
|
|
330
|
+
className?: string;
|
|
331
|
+
}): React.JSX.Element;
|
|
332
|
+
declare function DropcapIcon(): React.JSX.Element;
|
|
333
|
+
declare function TableColumnAdd(): React.JSX.Element;
|
|
334
|
+
declare function TableColumnRemove(): React.JSX.Element;
|
|
335
|
+
declare function TableRowAdd(): React.JSX.Element;
|
|
336
|
+
declare function TableRowRemove(): React.JSX.Element;
|
|
337
|
+
declare function GradientIcon(): React.JSX.Element;
|
|
338
|
+
declare function FixedHeight(): React.JSX.Element;
|
|
339
|
+
declare function FixedWidth(): React.JSX.Element;
|
|
340
|
+
export declare function Section(): React.JSX.Element;
|
|
341
|
+
export declare function IntegrationsIcon(): React.JSX.Element;
|
|
342
|
+
export declare function AddEmoji(): React.JSX.Element;
|
|
343
|
+
declare function CommentNew(): React.JSX.Element;
|
|
344
|
+
declare function Ceros(): React.JSX.Element;
|
|
345
|
+
declare function PlacementCenter(): React.JSX.Element;
|
|
346
|
+
declare function PlacementTop(): React.JSX.Element;
|
|
347
|
+
declare function PlacementBottom(): React.JSX.Element;
|
|
348
|
+
declare function MainComponent(): React.JSX.Element;
|
|
349
|
+
declare function TypescriptIcon(): React.JSX.Element;
|
|
350
|
+
declare function FlipIconVertical(): React.JSX.Element;
|
|
351
|
+
declare function FlipIconHorizontal(): React.JSX.Element;
|
|
352
|
+
declare function ContentChildParent(): React.JSX.Element;
|
|
353
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './styles/core.scss';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type SilkeColorGroup = 'surface' | 'accent' | 'error' | 'warning' | 'success' | 'neutral' | 'support-primary' | 'support-secondary' | 'support-tertiary' | 'brand-primary' | 'brand-secondary' | 'brand-tertiary' | 'brand-quaternary';
|
|
3
|
+
export type SilkeColor = `${SilkeColorGroup}-${'10' | '20' | '30' | '40' | '50' | '60'}` | `neutral-${'0' | '5' | '70' | '80' | '90' | '100'}` | `brand-${'primary' | 'secondary' | 'tertiary'}-bright` | `surface-${'0' | '1' | '2' | '3' | '4'}`;
|
|
4
|
+
export type SilkeColorTheme = Partial<Record<`color-${SilkeColor}`, string>>;
|
|
5
|
+
type SilkeContextModel = {
|
|
6
|
+
/** WHen a overflow menu is mounted this is set, call function to close */
|
|
7
|
+
mountedOverflowMenu?: () => void;
|
|
8
|
+
colors?: SilkeColorTheme;
|
|
9
|
+
onFileUpload: (file: File) => Promise<string>;
|
|
10
|
+
};
|
|
11
|
+
type SilkeThemeProviderProps = {
|
|
12
|
+
children: React.ReactElement;
|
|
13
|
+
} & Omit<SilkeContextModel, 'mountedOverflowMenu'>;
|
|
14
|
+
export declare function useSilkeContext(): SilkeContextModel;
|
|
15
|
+
export declare function SilkeThemeProvider({ children, ...rest }: SilkeThemeProviderProps): React.JSX.Element;
|
|
16
|
+
export {};
|