@vev/silke 1.0.28 → 1.0.29
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 +8 -0
- package/dist/index.js +49 -48
- package/dist/silke/src/components/index.d.ts +1 -1
- package/dist/silke/src/components/silke-autocomplete-field/autocomplete-item.d.ts +2 -1
- package/dist/silke/src/components/silke-autocomplete-field/autocomplete-tags.d.ts +2 -1
- package/dist/silke/src/components/silke-autocomplete-field/silke-autocomplete-field.d.ts +3 -1
- package/dist/silke/src/components/silke-autocomplete-field/silke-autocomplete-popup.d.ts +1 -0
- package/dist/silke/src/components/silke-box/silke-box.d.ts +3 -2
- package/dist/silke/src/components/silke-breadcrumbs/silke-breadcrumb.d.ts +1 -1
- package/dist/silke/src/components/silke-button/silke-big-button.d.ts +4 -1
- package/dist/silke/src/components/silke-button/silke-button.d.ts +1 -1
- package/dist/silke/src/components/silke-button/silke-dropdown-button.d.ts +2 -1
- package/dist/silke/src/components/silke-color-picker/color.d.ts +5 -0
- package/dist/silke/src/components/silke-color-picker/silke-color-info.d.ts +3 -1
- package/dist/silke/src/components/silke-color-swatches/silke-swatches.d.ts +2 -1
- package/dist/silke/src/components/silke-conditions-input/index.d.ts +2 -0
- package/dist/silke/src/components/silke-conditions-input/silke-conditions-input-options.d.ts +8 -0
- package/dist/silke/src/components/silke-conditions-input/silke-conditions-input.d.ts +19 -0
- package/dist/silke/src/components/silke-conditions-input/silke-conditions-tag.d.ts +11 -0
- package/dist/silke/src/components/silke-conditions-input/types.d.ts +13 -0
- package/dist/silke/src/components/silke-conditions-input/utils.d.ts +11 -0
- package/dist/silke/src/components/silke-context-menu/silke-context-menu-item.d.ts +1 -1
- package/dist/silke/src/components/silke-css-number-field/silke-css-context.d.ts +5 -1
- package/dist/silke/src/components/silke-css-number-field/silke-css-number-field.d.ts +3 -1
- package/dist/silke/src/components/silke-form/form-types.d.ts +3 -3
- package/dist/silke/src/components/silke-form-schema/fields/array-field-inline.d.ts +2 -1
- package/dist/silke/src/components/silke-form-schema/fields/array-field-modal.d.ts +3 -2
- package/dist/silke/src/components/silke-form-schema/fields/array-field.d.ts +1 -1
- package/dist/silke/src/components/silke-form-schema/fields/event-field.d.ts +1 -1
- package/dist/silke/src/components/silke-form-schema/fields/icon-field.d.ts +1 -1
- package/dist/silke/src/components/silke-form-schema/fields/image-field.d.ts +1 -1
- package/dist/silke/src/components/silke-form-schema/fields/layout-field.d.ts +1 -1
- package/dist/silke/src/components/silke-form-schema/fields/object-field.d.ts +1 -1
- package/dist/silke/src/components/silke-form-schema/fields/string-field.d.ts +1 -1
- package/dist/silke/src/components/silke-form-schema/fields/toggle-field.d.ts +1 -1
- package/dist/silke/src/components/silke-form-schema/fields/utils/generate-image.d.ts +1 -1
- package/dist/silke/src/components/silke-form-schema/fields/utils/generate-title.d.ts +1 -1
- package/dist/silke/src/components/silke-form-schema/fields/video-field.d.ts +1 -1
- package/dist/silke/src/components/silke-form-schema/silke-form-schema.d.ts +5 -0
- package/dist/silke/src/components/silke-form-schema/silke-schema-field.d.ts +3 -1
- package/dist/silke/src/components/silke-form-schema/silke-schema-fields.d.ts +2 -0
- package/dist/silke/src/components/silke-modal/silke-modal.d.ts +2 -1
- package/dist/silke/src/components/silke-notification/silke-notification.d.ts +1 -1
- package/dist/silke/src/components/silke-radio-button/silke-radio-button-group.d.ts +1 -1
- package/dist/silke/src/components/silke-slider/silke-slider.d.ts +1 -0
- package/dist/silke/src/components/silke-sortable-list/silke-nested-sortable-utils.d.ts +1 -0
- package/dist/silke/src/components/silke-sortable-list/silke-sortable-item-wrapper.d.ts +2 -1
- package/dist/silke/src/components/silke-sortable-list/silke-sortable-list.d.ts +2 -1
- package/dist/silke/src/components/silke-table/silke-table.d.ts +2 -1
- package/dist/silke/src/components/silke-table/table-row.d.ts +3 -1
- package/dist/silke/src/components/silke-table/table-types.d.ts +1 -1
- package/dist/silke/src/components/silke-tag/silke-tag.d.ts +1 -1
- package/dist/silke/src/components/silke-text-field/silke-text-field-outline.d.ts +3 -1
- package/dist/silke/src/components/silke-text-field/text-field-context.d.ts +4 -1
- package/dist/silke/src/components/silke-tile/index.d.ts +0 -1
- package/dist/silke/src/components/silke-tooltip/silke-definition-tooltip.d.ts +2 -1
- package/dist/silke/src/components/silke-tooltip/silke-icon-tooltip.d.ts +2 -1
- package/dist/silke/src/components/silke-tooltip/silke-tooltip.d.ts +6 -1
- package/dist/silke/src/components/silke-variables-wrapper/silke-variables-wrapper-form.d.ts +4 -3
- package/dist/silke/src/components/silke-variables-wrapper/silke-variables-wrapper.d.ts +5 -1
- package/dist/silke/src/icons.d.ts +74 -2
- package/dist/silke/src/silke-theme-provider.d.ts +1 -1
- package/dist/styles.css +1419 -1157
- package/dist/utils/src/types/context.d.ts +1 -0
- package/dist/utils/src/types/index.d.ts +1 -0
- package/dist/utils/src/types/manifest.d.ts +2 -0
- package/dist/utils/src/types/qwiker.d.ts +46 -0
- package/dist/utils/src/types/vev-plugin.d.ts +12 -0
- package/dist/utils/src/types/vev-props.d.ts +23 -2
- package/dist/utils/src/types/widget-manifest.d.ts +1 -0
- package/dist/utils/src/utils/index.d.ts +1 -0
- package/dist/utils/src/utils/variable.d.ts +3 -0
- package/package.json +15 -8
- package/project.json +21 -0
- package/public/index.html +2 -2
- package/src/_variables.scss +19 -5
- package/src/components/index.ts +1 -1
- package/src/components/silke-autocomplete-field/autocomplete-item.tsx +18 -12
- package/src/components/silke-autocomplete-field/autocomplete-tags.tsx +3 -0
- package/src/components/silke-autocomplete-field/silke-autocomplete-field.mdx +15 -15
- package/src/components/silke-autocomplete-field/silke-autocomplete-field.tsx +33 -25
- package/src/components/silke-autocomplete-field/silke-autocomplete-popup.tsx +40 -20
- package/src/components/silke-box/silke-box.mdx +13 -9
- package/src/components/silke-box/silke-box.scss +12 -3
- package/src/components/silke-box/silke-box.tsx +18 -2
- package/src/components/silke-breadcrumbs/silke-breadcrumb.tsx +2 -2
- package/src/components/silke-button/silke-big-button.scss +0 -5
- package/src/components/silke-button/silke-big-button.tsx +15 -4
- package/src/components/silke-button/silke-button.mdx +34 -17
- package/src/components/silke-button/silke-button.scss +28 -31
- package/src/components/silke-button/silke-button.tsx +2 -2
- package/src/components/silke-button/silke-dropdown-button.tsx +7 -3
- package/src/components/silke-button/silke-file-select-button.tsx +1 -0
- package/src/components/silke-card/silke-card-grid.tsx +1 -1
- package/src/components/silke-card/silke-card.mdx +16 -26
- package/src/components/silke-card/silke-card.scss +10 -3
- package/src/components/silke-card/silke-card.tsx +7 -4
- package/src/components/silke-checkbox/silke-checkbox.mdx +2 -11
- package/src/components/silke-code-snippet/silke-code-snippet.mdx +27 -22
- package/src/components/silke-color-palettes/silke-color-palette.mdx +2 -2
- package/src/components/silke-color-picker/color.ts +12 -0
- package/src/components/silke-color-picker/silke-color-info.tsx +27 -8
- package/src/components/silke-color-picker/silke-color-picker-button.tsx +1 -1
- package/src/components/silke-color-picker/silke-color-picker.mdx +9 -13
- package/src/components/silke-color-picker/silke-color-picker.tsx +23 -6
- package/src/components/silke-color-swatches/silke-color-swatch-button.tsx +1 -1
- package/src/components/silke-color-swatches/silke-swatches.tsx +10 -7
- package/src/components/silke-conditions-input/index.ts +2 -0
- package/src/components/silke-conditions-input/silke-conditions-input-options.tsx +87 -0
- package/src/components/silke-conditions-input/silke-conditions-input.mdx +88 -0
- package/src/components/silke-conditions-input/silke-conditions-input.scss +29 -0
- package/src/components/silke-conditions-input/silke-conditions-input.tsx +290 -0
- package/src/components/silke-conditions-input/silke-conditions-tag.tsx +80 -0
- package/src/components/silke-conditions-input/types.ts +23 -0
- package/src/components/silke-conditions-input/utils.ts +181 -0
- package/src/components/silke-content-column/silke-content-column.scss +1 -1
- package/src/components/silke-context-menu/silke-context-menu-item.tsx +3 -0
- package/src/components/silke-context-menu/silke-context-menu.mdx +4 -4
- package/src/components/silke-context-menu/silke-context-menu.scss +9 -7
- package/src/components/silke-context-menu/silke-context-menu.tsx +1 -1
- package/src/components/silke-css-number-field/silke-css-context.tsx +6 -1
- package/src/components/silke-css-number-field/silke-css-number-field.mdx +221 -91
- package/src/components/silke-css-number-field/silke-css-number-field.scss +10 -3
- package/src/components/silke-css-number-field/silke-css-number-field.tsx +52 -8
- package/src/components/silke-css-number-field/utils.ts +2 -1
- package/src/components/silke-divider/silke-divider.mdx +1 -2
- package/src/components/silke-drawer/silke-drawer.mdx +4 -11
- package/src/components/silke-form/form-types.ts +5 -3
- package/src/components/silke-form/silke-form.mdx +4 -16
- package/src/components/silke-form-schema/fields/array-field-inline.tsx +12 -2
- package/src/components/silke-form-schema/fields/array-field-modal.tsx +10 -6
- package/src/components/silke-form-schema/fields/array-field.tsx +25 -6
- package/src/components/silke-form-schema/fields/event-field.tsx +18 -7
- package/src/components/silke-form-schema/fields/icon-field.tsx +21 -3
- package/src/components/silke-form-schema/fields/image-field.tsx +21 -3
- package/src/components/silke-form-schema/fields/layout-field.tsx +8 -1
- package/src/components/silke-form-schema/fields/link-field.tsx +5 -1
- package/src/components/silke-form-schema/fields/number-field.tsx +144 -13
- package/src/components/silke-form-schema/fields/object-field.tsx +10 -1
- package/src/components/silke-form-schema/fields/select-field.tsx +15 -1
- package/src/components/silke-form-schema/fields/string-field.tsx +115 -20
- package/src/components/silke-form-schema/fields/toggle-field.tsx +14 -2
- package/src/components/silke-form-schema/fields/upload-field.tsx +3 -1
- package/src/components/silke-form-schema/fields/utils/generate-image.ts +4 -1
- package/src/components/silke-form-schema/fields/utils/generate-title.ts +2 -1
- package/src/components/silke-form-schema/fields/video-field.tsx +22 -4
- package/src/components/silke-form-schema/silke-form-schema.mdx +227 -160
- package/src/components/silke-form-schema/silke-form-schema.tsx +5 -0
- package/src/components/silke-form-schema/silke-schema-field.tsx +23 -6
- package/src/components/silke-form-schema/silke-schema-fields.tsx +3 -1
- package/src/components/silke-gradient-picker/silke-gradient-picker.mdx +1 -1
- package/src/components/silke-icon/silke-icon.mdx +3 -6
- package/src/components/silke-icon/silke-icon.scss +2 -0
- package/src/components/silke-icon-picker/silke-icon-picker.tsx +5 -5
- package/src/components/silke-iframe-portal/silke-iframe-portal.mdx +6 -15
- package/src/components/silke-image/silke-image.mdx +28 -0
- package/src/components/silke-image/silke-image.scss +1 -0
- package/src/components/silke-link/silke-link.mdx +62 -39
- package/src/components/silke-link/silke-link.scss +3 -2
- package/src/components/silke-list/silke-list.mdx +12 -10
- package/src/components/silke-list-card/silke-list-card.mdx +7 -11
- package/src/components/silke-loader/silke-loader.mdx +1 -1
- package/src/components/silke-loader/silke-loader.tsx +1 -4
- package/src/components/silke-modal/silke-modal.mdx +1 -5
- package/src/components/silke-modal/silke-modal.scss +0 -2
- package/src/components/silke-modal/silke-modal.tsx +3 -1
- package/src/components/silke-navigation-link/silke-navigation-link.mdx +21 -22
- package/src/components/silke-navigation-link/silke-navigation-link.scss +2 -2
- package/src/components/silke-notification/silke-notification.mdx +35 -67
- package/src/components/silke-notification/silke-notification.tsx +2 -1
- package/src/components/silke-object-field/silke-object-field.mdx +3 -10
- package/src/components/silke-object-field/silke-object-field.tsx +2 -2
- package/src/components/silke-overflow-menu/silke-overflow-menu.mdx +2 -2
- package/src/components/silke-overflow-menu/silke-overflow-menu.tsx +2 -1
- package/src/components/silke-popover/silke-popover.mdx +14 -22
- package/src/components/silke-popover/silke-popover.tsx +21 -15
- package/src/components/silke-progress-indicator/silke-progress-indicator.mdx +33 -36
- package/src/components/silke-radio-button/silke-radio-button-group.tsx +1 -1
- package/src/components/silke-radio-button/silke-radio-button.mdx +1 -7
- package/src/components/silke-radio-button/silke-radio-button.scss +1 -0
- package/src/components/silke-search-field/silke-search-field.mdx +4 -12
- package/src/components/silke-select-field/silke-select-field.mdx +10 -10
- package/src/components/silke-slider/silke-slider.mdx +59 -22
- package/src/components/silke-slider/silke-slider.tsx +23 -10
- package/src/components/silke-sortable-list/silke-nested-sortable-item.tsx +3 -3
- package/src/components/silke-sortable-list/silke-nested-sortable-utils.ts +1 -0
- package/src/components/silke-sortable-list/silke-sortable-item-wrapper.tsx +4 -1
- package/src/components/silke-sortable-list/silke-sortable-list.mdx +54 -58
- package/src/components/silke-sortable-list/silke-sortable-list.scss +2 -2
- package/src/components/silke-sortable-list/silke-sortable-list.tsx +3 -0
- package/src/components/silke-table/silke-table.mdx +75 -75
- package/src/components/silke-table/silke-table.scss +27 -13
- package/src/components/silke-table/silke-table.tsx +13 -3
- package/src/components/silke-table/table-row.tsx +6 -1
- package/src/components/silke-table/table-types.ts +1 -1
- package/src/components/silke-tabs/silke-tabs.mdx +2 -2
- package/src/components/silke-tag/silke-tag.mdx +38 -79
- package/src/components/silke-tag/silke-tag.scss +12 -5
- package/src/components/silke-tag/silke-tag.tsx +1 -0
- package/src/components/silke-text/silke-text.mdx +50 -48
- package/src/components/silke-text/silke-text.scss +4 -2
- package/src/components/silke-text/silke-title.scss +29 -15
- package/src/components/silke-text-field/silke-text-field-outline.tsx +9 -1
- package/src/components/silke-text-field/silke-text-field.mdx +67 -71
- package/src/components/silke-text-field/silke-text-field.scss +4 -3
- package/src/components/silke-text-field/silke-text-field.tsx +16 -16
- package/src/components/silke-text-field/text-field-context.tsx +7 -2
- package/src/components/silke-tile/index.ts +0 -1
- package/src/components/silke-tile/silke-tile.mdx +6 -63
- package/src/components/silke-tile/silke-tile.tsx +4 -4
- package/src/components/silke-toggle/silke-toggle.mdx +5 -29
- package/src/components/silke-toggle/silke-toggle.scss +3 -2
- package/src/components/silke-toolbar/silke-toolbar.mdx +6 -6
- package/src/components/silke-tooltip/silke-definition-tooltip.tsx +3 -0
- package/src/components/silke-tooltip/silke-icon-tooltip.tsx +5 -2
- package/src/components/silke-tooltip/silke-tooltip.mdx +16 -34
- package/src/components/silke-tooltip/silke-tooltip.scss +3 -2
- package/src/components/silke-tooltip/silke-tooltip.tsx +15 -4
- package/src/components/silke-upload-field/silke-upload-field.tsx +1 -0
- package/src/components/silke-variables-wrapper/silke-variables-wrapper-form.tsx +30 -50
- package/src/components/silke-variables-wrapper/silke-variables-wrapper.mdx +56 -15
- package/src/components/silke-variables-wrapper/silke-variables-wrapper.scss +0 -2
- package/src/components/silke-variables-wrapper/silke-variables-wrapper.tsx +107 -44
- package/src/docs/data/flux/store.ts +0 -1
- package/src/hooks/drag-and-drop/use-drop.tsx +1 -1
- package/src/hooks/hooks.mdx +3 -3
- package/src/icons.tsx +104 -4
- package/src/index.mdx +30 -31
- package/src/playground.mdx +58 -47
- package/src/silke-theme-provider.tsx +1 -0
- package/src/styles/core.scss +10 -14
- package/dist/silke/src/components/silke-steps/index.d.ts +0 -1
- package/dist/silke/src/components/silke-steps/silke-steps.d.ts +0 -12
- package/dist/silke/src/components/silke-tile/silke-tile-select.d.ts +0 -26
- package/src/components/silke-steps/index.ts +0 -1
- package/src/components/silke-steps/silke-steps.mdx +0 -60
- package/src/components/silke-steps/silke-steps.scss +0 -14
- package/src/components/silke-steps/silke-steps.tsx +0 -53
- package/src/components/silke-tile/silke-tile-select.tsx +0 -100
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SilkeTextFieldProps } from './silke-text-field';
|
|
3
|
-
|
|
3
|
+
import { SilkeColor } from '../../silke-theme-provider';
|
|
4
|
+
type TextFieldContextType = Pick<SilkeTextFieldProps, 'kind' | 'size' | 'inline' | 'readOnly'> & {
|
|
5
|
+
color?: SilkeColor;
|
|
6
|
+
};
|
|
4
7
|
type TextFieldContextProps = {
|
|
5
8
|
children: React.ReactNode;
|
|
6
9
|
} & TextFieldContextType;
|
|
@@ -8,9 +8,10 @@ type SilkeDefinitionTooltipProps = {
|
|
|
8
8
|
size?: SilkeTooltipSize;
|
|
9
9
|
kind?: 'default' | 'info';
|
|
10
10
|
tooltip: React.ReactNode;
|
|
11
|
+
hideBorder?: boolean;
|
|
11
12
|
} & Omit<SilkeTooltipProps, 'children' | 'anchor' | 'show'>;
|
|
12
13
|
/**
|
|
13
14
|
* Wrap some text in this to show extra context
|
|
14
15
|
*/
|
|
15
|
-
export declare function SilkeDefinitionTooltip({ className, children, show, tooltip, style, size, anchorOrigin, ...rest }: SilkeDefinitionTooltipProps): React.JSX.Element;
|
|
16
|
+
export declare function SilkeDefinitionTooltip({ className, children, show, tooltip, style, size, anchorOrigin, hideBorder, ...rest }: SilkeDefinitionTooltipProps): React.JSX.Element;
|
|
16
17
|
export {};
|
|
@@ -5,6 +5,7 @@ import { SilkeTooltipProps } from './silke-tooltip';
|
|
|
5
5
|
type SilkeIconTooltipProps = {
|
|
6
6
|
icon?: SilkeIcons;
|
|
7
7
|
tooltip: React.ReactNode;
|
|
8
|
+
tooltipTitle?: string;
|
|
8
9
|
shortcut?: KeyboardEventCode[] | KeyboardEventCode;
|
|
9
10
|
show?: boolean;
|
|
10
11
|
/** If interaction content in the tooltip then this should be set to true */
|
|
@@ -13,5 +14,5 @@ type SilkeIconTooltipProps = {
|
|
|
13
14
|
/**
|
|
14
15
|
* Shows an icon with a tooltip anchored to it
|
|
15
16
|
*/
|
|
16
|
-
export declare function SilkeIconTooltip({ icon, interactive, shortcut, show, tooltip, size, ...rest }: SilkeIconTooltipProps): React.JSX.Element;
|
|
17
|
+
export declare function SilkeIconTooltip({ icon, interactive, shortcut, show, tooltip, tooltipTitle, size, ...rest }: SilkeIconTooltipProps): React.JSX.Element;
|
|
17
18
|
export {};
|
|
@@ -17,9 +17,14 @@ export type SilkeTooltipProps = {
|
|
|
17
17
|
anchorOrigin?: PopoverOrigin;
|
|
18
18
|
title?: string;
|
|
19
19
|
children?: React.ReactNode;
|
|
20
|
+
offsetX?: number;
|
|
21
|
+
offsetY?: number;
|
|
22
|
+
zIndex?: number;
|
|
20
23
|
onRequestClose?: () => void;
|
|
24
|
+
onClick?: () => void;
|
|
25
|
+
onImageClick?: () => void;
|
|
21
26
|
};
|
|
22
27
|
/**
|
|
23
28
|
* Tooltip component. Needs an anchor, shows a little tip.
|
|
24
29
|
*/
|
|
25
|
-
export declare function SilkeTooltip({ kind, anchor, anchorOrigin, targetOrigin, show, children, noArrow, image, size, title, onRequestClose, }: SilkeTooltipProps): React.JSX.Element | null;
|
|
30
|
+
export declare function SilkeTooltip({ kind, anchor, anchorOrigin, targetOrigin, show, children, noArrow, image, size, title, offsetX, offsetY, zIndex, onClick, onRequestClose, onImageClick, }: SilkeTooltipProps): React.JSX.Element | null;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export type SilkeVariablesWrapperFormProps = {
|
|
3
|
-
|
|
3
|
+
variableValue: string;
|
|
4
4
|
containerRef?: React.RefObject<HTMLDivElement>;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
onSubmit: (form: {
|
|
6
|
+
variableName: string;
|
|
7
|
+
}) => void;
|
|
7
8
|
onClose: () => void;
|
|
8
9
|
};
|
|
9
10
|
export declare function SilkeVariablesWrapperForm(props: SilkeVariablesWrapperFormProps): React.JSX.Element;
|
|
@@ -5,6 +5,9 @@ export type LocalVariable = {
|
|
|
5
5
|
type: string;
|
|
6
6
|
value?: string;
|
|
7
7
|
unit?: string;
|
|
8
|
+
metadata?: {
|
|
9
|
+
label?: string;
|
|
10
|
+
};
|
|
8
11
|
};
|
|
9
12
|
export type SilkeVariablesWrapperProps<T extends React.ElementType> = {
|
|
10
13
|
component?: T;
|
|
@@ -12,11 +15,12 @@ export type SilkeVariablesWrapperProps<T extends React.ElementType> = {
|
|
|
12
15
|
formats?: string[];
|
|
13
16
|
variableType?: string;
|
|
14
17
|
fullWidthWrapper?: boolean;
|
|
18
|
+
templateVariable?: boolean;
|
|
15
19
|
onChange: (value: string) => void;
|
|
16
20
|
onVariableAdd?: (variable: LocalVariable) => Promise<string>;
|
|
17
21
|
onVariableEdit?: (key: string) => void;
|
|
18
22
|
} & React.ComponentProps<T>;
|
|
19
|
-
export declare function SilkeVariablesWrapper<T extends React.ElementType>(
|
|
23
|
+
export declare function SilkeVariablesWrapper<T extends React.ElementType>({ component, formats, variableType, fullWidthWrapper, templateVariable, onVariableAdd, onVariableEdit, ...rest }: SilkeVariablesWrapperProps<T>): React.JSX.Element;
|
|
20
24
|
export declare namespace SilkeVariablesWrapper {
|
|
21
25
|
var displayName: string;
|
|
22
26
|
}
|
|
@@ -3,6 +3,8 @@ export declare const SilkeIconDefinitions: {
|
|
|
3
3
|
add(): React.JSX.Element;
|
|
4
4
|
check: string;
|
|
5
5
|
'check.circle': string;
|
|
6
|
+
'circle.duotone': string;
|
|
7
|
+
'circle.regular': string;
|
|
6
8
|
close: string;
|
|
7
9
|
delete: string;
|
|
8
10
|
edit: string;
|
|
@@ -12,6 +14,7 @@ export declare const SilkeIconDefinitions: {
|
|
|
12
14
|
community: string;
|
|
13
15
|
'check.circle.outline': string;
|
|
14
16
|
play: string;
|
|
17
|
+
pause: string;
|
|
15
18
|
emoji: string;
|
|
16
19
|
'emoji.add': typeof AddEmoji;
|
|
17
20
|
mention: string;
|
|
@@ -22,6 +25,7 @@ export declare const SilkeIconDefinitions: {
|
|
|
22
25
|
sparkles: string;
|
|
23
26
|
compare: string;
|
|
24
27
|
menuMore: string;
|
|
28
|
+
menuMoreHorizontal: string;
|
|
25
29
|
menu: string;
|
|
26
30
|
drag: string;
|
|
27
31
|
'drag.dots': string;
|
|
@@ -42,6 +46,7 @@ export declare const SilkeIconDefinitions: {
|
|
|
42
46
|
filter: string;
|
|
43
47
|
copy: string;
|
|
44
48
|
paste: string;
|
|
49
|
+
'paste.add': string;
|
|
45
50
|
random: string;
|
|
46
51
|
question: string;
|
|
47
52
|
send: string;
|
|
@@ -61,7 +66,9 @@ export declare const SilkeIconDefinitions: {
|
|
|
61
66
|
shapes: string;
|
|
62
67
|
sharedStyle: string;
|
|
63
68
|
firefox: string;
|
|
69
|
+
safari: string;
|
|
64
70
|
'square.dashed': string;
|
|
71
|
+
'square.small': string;
|
|
65
72
|
hashtag: string;
|
|
66
73
|
eye: string;
|
|
67
74
|
'eye.off': string;
|
|
@@ -79,6 +86,8 @@ export declare const SilkeIconDefinitions: {
|
|
|
79
86
|
'network.on': string;
|
|
80
87
|
'network.off': string;
|
|
81
88
|
grid: string;
|
|
89
|
+
moon: string;
|
|
90
|
+
sun: string;
|
|
82
91
|
notification: string;
|
|
83
92
|
'notification.new': string;
|
|
84
93
|
tracking: string;
|
|
@@ -96,6 +105,7 @@ export declare const SilkeIconDefinitions: {
|
|
|
96
105
|
'folder.plus': string;
|
|
97
106
|
folders: string;
|
|
98
107
|
file: string;
|
|
108
|
+
'file.check': string;
|
|
99
109
|
'file.arrow.up': string;
|
|
100
110
|
'file.download': string;
|
|
101
111
|
code: string;
|
|
@@ -103,6 +113,7 @@ export declare const SilkeIconDefinitions: {
|
|
|
103
113
|
'code.fork': string;
|
|
104
114
|
'code.compare': string;
|
|
105
115
|
'code.history': string;
|
|
116
|
+
messages: string;
|
|
106
117
|
'keyboard.command': string;
|
|
107
118
|
'keyboard.option': string;
|
|
108
119
|
'keyboard.shift': string;
|
|
@@ -118,7 +129,12 @@ export declare const SilkeIconDefinitions: {
|
|
|
118
129
|
'chevron.down': string;
|
|
119
130
|
'chevron.up': string;
|
|
120
131
|
'chevron.right': string;
|
|
132
|
+
'arrow.turn.down.left': string;
|
|
133
|
+
'arrow.turn.up.left': string;
|
|
121
134
|
'arrow.up.right': string;
|
|
135
|
+
'arrow.up.left': string;
|
|
136
|
+
'arrow.down.left': string;
|
|
137
|
+
'arrow.down.right': string;
|
|
122
138
|
'caret.down': string;
|
|
123
139
|
'caret.up': string;
|
|
124
140
|
'caret.right': string;
|
|
@@ -137,6 +153,24 @@ export declare const SilkeIconDefinitions: {
|
|
|
137
153
|
'arrow.right.line': string;
|
|
138
154
|
'arrow.from.right': string;
|
|
139
155
|
'arrow.from.left': string;
|
|
156
|
+
'arrow.down.left.and.up.right': string;
|
|
157
|
+
'arrow.up.right.and.down.left': string;
|
|
158
|
+
'arrows.left.right': string;
|
|
159
|
+
'arrows.up.down': string;
|
|
160
|
+
'padding.all': string;
|
|
161
|
+
'padding.top.bottom': string;
|
|
162
|
+
'padding.left.right': string;
|
|
163
|
+
'padding.top': string;
|
|
164
|
+
'padding.bottom': string;
|
|
165
|
+
'padding.left': string;
|
|
166
|
+
'padding.right': string;
|
|
167
|
+
'height.min': string;
|
|
168
|
+
'height.max': string;
|
|
169
|
+
'width.min': string;
|
|
170
|
+
'width.max': string;
|
|
171
|
+
'gap.horizontal': string;
|
|
172
|
+
'gap.vertical': string;
|
|
173
|
+
'columns.3': string;
|
|
140
174
|
minimize: string;
|
|
141
175
|
'fixed-width': typeof FixedWidth;
|
|
142
176
|
'fixed-height': typeof FixedHeight;
|
|
@@ -161,6 +195,8 @@ export declare const SilkeIconDefinitions: {
|
|
|
161
195
|
'user.add': string;
|
|
162
196
|
'user.secret': string;
|
|
163
197
|
'user.history': string;
|
|
198
|
+
'user.lock': string;
|
|
199
|
+
'user.gear': string;
|
|
164
200
|
integrations: typeof IntegrationsIcon;
|
|
165
201
|
users: string;
|
|
166
202
|
'users-class': string;
|
|
@@ -170,6 +206,8 @@ export declare const SilkeIconDefinitions: {
|
|
|
170
206
|
hosting: string;
|
|
171
207
|
publish: string;
|
|
172
208
|
support: string;
|
|
209
|
+
security: string;
|
|
210
|
+
'security.user': string;
|
|
173
211
|
'plan.free': string;
|
|
174
212
|
'plan.creative': string;
|
|
175
213
|
'plan.teams': string;
|
|
@@ -187,17 +225,25 @@ export declare const SilkeIconDefinitions: {
|
|
|
187
225
|
gradient: typeof GradientIcon;
|
|
188
226
|
image: string;
|
|
189
227
|
video: string;
|
|
228
|
+
audio: string;
|
|
190
229
|
fill: string;
|
|
191
230
|
opacity: string;
|
|
192
231
|
'object.group': string;
|
|
193
232
|
'object.ungroup': string;
|
|
194
233
|
pin: string;
|
|
195
234
|
'component.add': string;
|
|
196
|
-
'main-component':
|
|
235
|
+
'main-component': string;
|
|
236
|
+
'instance-component': string;
|
|
237
|
+
'goto.main-component': typeof GotoMainComponent;
|
|
238
|
+
variant: typeof Variant;
|
|
197
239
|
section: typeof Section;
|
|
198
240
|
frame: string;
|
|
199
241
|
'frame.row': string;
|
|
200
242
|
'frame.column': string;
|
|
243
|
+
'flex.row.add': string;
|
|
244
|
+
'flex.column.add': string;
|
|
245
|
+
'flex.column': string;
|
|
246
|
+
'flex.row': string;
|
|
201
247
|
layers: string;
|
|
202
248
|
addon: string;
|
|
203
249
|
widget: string;
|
|
@@ -210,6 +256,9 @@ export declare const SilkeIconDefinitions: {
|
|
|
210
256
|
'project-plan': string;
|
|
211
257
|
diamond: string;
|
|
212
258
|
crosshair: string;
|
|
259
|
+
clone: string;
|
|
260
|
+
'globe-pointer': string;
|
|
261
|
+
globe: string;
|
|
213
262
|
'align.text.right': string;
|
|
214
263
|
'align.text.left': string;
|
|
215
264
|
'align.text.center': string;
|
|
@@ -244,6 +293,7 @@ export declare const SilkeIconDefinitions: {
|
|
|
244
293
|
'border.center.v': string;
|
|
245
294
|
'border.center.h': string;
|
|
246
295
|
plug: string;
|
|
296
|
+
'plug.light': string;
|
|
247
297
|
refresh: string;
|
|
248
298
|
signout: string;
|
|
249
299
|
tag: string;
|
|
@@ -336,9 +386,31 @@ export declare const SilkeIconDefinitions: {
|
|
|
336
386
|
'interaction.mouse-enter': string;
|
|
337
387
|
'interaction.mouse-leave': string;
|
|
338
388
|
'interaction.timer': string;
|
|
389
|
+
'interaction.disabled': string;
|
|
339
390
|
'variable.icon': string;
|
|
340
391
|
'variable.color': string;
|
|
392
|
+
marketing: string;
|
|
393
|
+
'state.focus': string;
|
|
394
|
+
'condition.equals': string;
|
|
395
|
+
'condition.notEqual': string;
|
|
396
|
+
'condition.greaterThan': string;
|
|
397
|
+
'condition.lessThan': string;
|
|
398
|
+
'condition.greaterThanEqual': string;
|
|
399
|
+
'condition.lessThanEqueal': string;
|
|
400
|
+
'condition.and': string;
|
|
401
|
+
'condition.or': string;
|
|
402
|
+
'condition.true': string;
|
|
403
|
+
'condition.false': string;
|
|
404
|
+
qwiker: string;
|
|
341
405
|
};
|
|
406
|
+
export declare const StateIcons: {
|
|
407
|
+
default: string;
|
|
408
|
+
hover: string;
|
|
409
|
+
active: string;
|
|
410
|
+
focus: string;
|
|
411
|
+
'focus-visible': string;
|
|
412
|
+
};
|
|
413
|
+
declare function GotoMainComponent(): React.JSX.Element;
|
|
342
414
|
declare function CustomComponentIcon({ className }: {
|
|
343
415
|
className?: string;
|
|
344
416
|
}): React.JSX.Element;
|
|
@@ -358,7 +430,7 @@ declare function Ceros(): React.JSX.Element;
|
|
|
358
430
|
declare function PlacementCenter(): React.JSX.Element;
|
|
359
431
|
declare function PlacementTop(): React.JSX.Element;
|
|
360
432
|
declare function PlacementBottom(): React.JSX.Element;
|
|
361
|
-
declare function
|
|
433
|
+
declare function Variant(): React.JSX.Element;
|
|
362
434
|
declare function TypescriptIcon(): React.JSX.Element;
|
|
363
435
|
declare function FlipIconVertical(): React.JSX.Element;
|
|
364
436
|
declare function FlipIconHorizontal(): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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';
|
|
2
|
+
type SilkeColorGroup = 'surface' | 'accent' | 'error' | 'warning' | 'success' | 'neutral' | 'support-primary' | 'support-secondary' | 'support-tertiary' | 'support-quaternary' | 'brand-primary' | 'brand-secondary' | 'brand-tertiary' | 'brand-quaternary';
|
|
3
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
4
|
export type SilkeColorTheme = Partial<Record<`color-${SilkeColor}`, string>>;
|
|
5
5
|
type SilkeContextModel = {
|