@synergy-design-system/components 1.4.0 → 1.5.0
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/dist/chunks/chunk.3B24TYVN.js +51 -0
- package/dist/chunks/chunk.3B24TYVN.js.map +7 -0
- package/dist/chunks/chunk.3HPG73GG.js +132 -0
- package/dist/chunks/chunk.3HPG73GG.js.map +7 -0
- package/dist/chunks/chunk.4KLCSMRA.js +96 -0
- package/dist/chunks/chunk.4KLCSMRA.js.map +7 -0
- package/dist/chunks/{chunk.BOURWTS5.js → chunk.4ZO3EKCL.js} +2 -2
- package/dist/chunks/{chunk.JFCQYLZB.js → chunk.5NJ7WWJW.js} +2 -2
- package/dist/chunks/{chunk.C2S53NYE.js → chunk.63IJYG6Q.js} +2 -2
- package/dist/chunks/chunk.6XU6OLZ3.js +310 -0
- package/dist/chunks/chunk.6XU6OLZ3.js.map +7 -0
- package/dist/chunks/{chunk.MMNPLBTH.js → chunk.7BHGTNHS.js} +2 -2
- package/dist/chunks/chunk.7HS3TULI.js +12 -0
- package/dist/chunks/chunk.7HS3TULI.js.map +7 -0
- package/dist/chunks/{chunk.VYKSU5VJ.js → chunk.A4YWJJLD.js} +2 -2
- package/dist/chunks/{chunk.43NPPDUU.js → chunk.AVJQ2BSM.js} +2 -2
- package/dist/chunks/{chunk.W46CFM2R.js → chunk.B2EJGIGY.js} +7 -13
- package/dist/chunks/chunk.B2EJGIGY.js.map +7 -0
- package/dist/chunks/chunk.BQG5LF7J.js +47 -0
- package/dist/chunks/chunk.BQG5LF7J.js.map +7 -0
- package/dist/chunks/{chunk.SNP6OECI.js → chunk.C5W2Y6KW.js} +8 -8
- package/dist/chunks/{chunk.SNP6OECI.js.map → chunk.C5W2Y6KW.js.map} +2 -2
- package/dist/chunks/{chunk.NZAZG5AN.js → chunk.CUHMPG7E.js} +3 -3
- package/dist/chunks/{chunk.7CKINLE4.js → chunk.DLDE3BC5.js} +2 -2
- package/dist/chunks/{chunk.RSGJ7C32.js → chunk.DPTZN6HY.js} +2 -2
- package/dist/chunks/{chunk.GKFUZ44I.js → chunk.ELPJP6AL.js} +2 -2
- package/dist/chunks/{chunk.4NG4BW3G.js → chunk.FLCUFEHS.js} +2 -2
- package/dist/chunks/chunk.FOTO5B4G.js +12 -0
- package/dist/chunks/chunk.FOTO5B4G.js.map +7 -0
- package/dist/chunks/{chunk.3CAAVHZZ.js → chunk.GAMJZXEL.js} +2 -2
- package/dist/chunks/{chunk.QT64OSWO.js → chunk.GGNKDYC2.js} +7 -7
- package/dist/chunks/{chunk.POZGJMTS.js → chunk.GYDJFPHM.js} +2 -2
- package/dist/chunks/{chunk.YL6PYHOS.js → chunk.IESSP23D.js} +7 -7
- package/dist/chunks/{chunk.62GAQV3Z.js → chunk.IYKQTZIY.js} +3 -3
- package/dist/chunks/{chunk.I2JLECCQ.js → chunk.JEOPTEUQ.js} +3 -3
- package/dist/chunks/{chunk.QBM7YT5M.js → chunk.JLTYAQFG.js} +2 -2
- package/dist/chunks/chunk.JN7CLMQZ.js +53 -0
- package/dist/chunks/chunk.JN7CLMQZ.js.map +7 -0
- package/dist/chunks/{chunk.7DUTGUSD.js → chunk.JQWJ7PHD.js} +2 -2
- package/dist/chunks/chunk.JXOHBU6V.js +334 -0
- package/dist/chunks/chunk.JXOHBU6V.js.map +7 -0
- package/dist/chunks/chunk.KG52EHDB.js +60 -0
- package/dist/chunks/chunk.KG52EHDB.js.map +7 -0
- package/dist/chunks/{chunk.OXUFFH57.js → chunk.KUZJTGHQ.js} +2 -2
- package/dist/chunks/{chunk.T27ALSOE.js → chunk.LL3V6HVM.js} +2 -2
- package/dist/chunks/{chunk.A4KYHNIH.js → chunk.LTCRPIZ5.js} +2 -2
- package/dist/chunks/{chunk.2Z2FGA3I.js → chunk.OPVDSHPD.js} +2 -2
- package/dist/chunks/chunk.OWMT6OL2.js +82 -0
- package/dist/chunks/chunk.OWMT6OL2.js.map +7 -0
- package/dist/chunks/{chunk.FSHPI6B5.js → chunk.PQLAXTRQ.js} +3 -3
- package/dist/chunks/{chunk.SHF6MEDK.js → chunk.RU7P5HHF.js} +2 -2
- package/dist/chunks/chunk.SS46QCYH.js +811 -0
- package/dist/chunks/chunk.SS46QCYH.js.map +7 -0
- package/dist/chunks/{chunk.ZKVZHEJM.js → chunk.TY5F2VTK.js} +2 -2
- package/dist/chunks/{chunk.533DZ5GZ.js → chunk.UGYBBM5O.js} +3 -3
- package/dist/chunks/chunk.UXUMV3TL.js +12 -0
- package/dist/chunks/chunk.UXUMV3TL.js.map +7 -0
- package/dist/chunks/chunk.W6V7TPGK.js +104 -0
- package/dist/chunks/chunk.W6V7TPGK.js.map +7 -0
- package/dist/chunks/{chunk.NQZRYJEZ.js → chunk.Y6HNLEFW.js} +2 -2
- package/dist/components/button/button.component.js +5 -5
- package/dist/components/button/button.js +6 -6
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/input/input.component.js +6 -6
- package/dist/components/input/input.custom.styles.js +1 -1
- package/dist/components/input/input.js +7 -7
- package/dist/components/input/input.styles.js +2 -2
- package/dist/components/optgroup/optgroup.component.d.ts +47 -0
- package/dist/components/optgroup/optgroup.component.js +16 -0
- package/dist/components/optgroup/optgroup.component.js.map +7 -0
- package/dist/components/optgroup/optgroup.d.ts +8 -0
- package/dist/components/optgroup/optgroup.js +17 -0
- package/dist/components/optgroup/optgroup.js.map +7 -0
- package/dist/components/optgroup/optgroup.styles.d.ts +2 -0
- package/dist/components/optgroup/optgroup.styles.js +8 -0
- package/dist/components/optgroup/optgroup.styles.js.map +7 -0
- package/dist/components/option/option.component.d.ts +51 -0
- package/dist/components/option/option.component.js +22 -0
- package/dist/components/option/option.component.js.map +7 -0
- package/dist/components/option/option.custom.styles.d.ts +2 -0
- package/dist/components/option/option.custom.styles.js +8 -0
- package/dist/components/option/option.custom.styles.js.map +7 -0
- package/dist/components/option/option.d.ts +8 -0
- package/dist/components/option/option.js +23 -0
- package/dist/components/option/option.js.map +7 -0
- package/dist/components/option/option.styles.d.ts +2 -0
- package/dist/components/option/option.styles.js +10 -0
- package/dist/components/option/option.styles.js.map +7 -0
- package/dist/components/popup/popup.component.d.ts +139 -0
- package/dist/components/popup/popup.component.js +11 -0
- package/dist/components/popup/popup.component.js.map +7 -0
- package/dist/components/popup/popup.styles.d.ts +2 -0
- package/dist/components/popup/popup.styles.js +9 -0
- package/dist/components/popup/popup.styles.js.map +7 -0
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/select/select.component.d.ts +180 -0
- package/dist/components/select/select.component.js +35 -0
- package/dist/components/select/select.component.js.map +7 -0
- package/dist/components/select/select.custom.styles.d.ts +2 -0
- package/dist/components/select/select.custom.styles.js +8 -0
- package/dist/components/select/select.custom.styles.js.map +7 -0
- package/dist/components/select/select.d.ts +8 -0
- package/dist/components/select/select.js +36 -0
- package/dist/components/select/select.js.map +7 -0
- package/dist/components/select/select.styles.d.ts +2 -0
- package/dist/components/select/select.styles.js +11 -0
- package/dist/components/select/select.styles.js.map +7 -0
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/custom-elements.json +2376 -556
- package/dist/events/events.d.ts +5 -0
- package/dist/events/syn-after-hide.d.ts +6 -0
- package/dist/events/syn-after-show.d.ts +6 -0
- package/dist/events/syn-hide.d.ts +6 -0
- package/dist/events/syn-reposition.d.ts +6 -0
- package/dist/events/syn-show.d.ts +6 -0
- package/dist/internal/animate.d.ts +22 -0
- package/dist/internal/event.d.ts +2 -0
- package/dist/internal/offset.d.ts +11 -0
- package/dist/internal/scroll.d.ts +11 -0
- package/dist/synergy.d.ts +3 -0
- package/dist/synergy.js +63 -40
- package/dist/utilities/animation-registry.d.ts +24 -0
- package/dist/utilities/animation-registry.js +12 -0
- package/dist/utilities/animation-registry.js.map +7 -0
- package/dist/vscode.html-custom-data.json +304 -17
- package/dist/web-types.json +664 -30
- package/package.json +32 -31
- package/dist/chunks/chunk.W46CFM2R.js.map +0 -7
- /package/dist/chunks/{chunk.BOURWTS5.js.map → chunk.4ZO3EKCL.js.map} +0 -0
- /package/dist/chunks/{chunk.JFCQYLZB.js.map → chunk.5NJ7WWJW.js.map} +0 -0
- /package/dist/chunks/{chunk.C2S53NYE.js.map → chunk.63IJYG6Q.js.map} +0 -0
- /package/dist/chunks/{chunk.MMNPLBTH.js.map → chunk.7BHGTNHS.js.map} +0 -0
- /package/dist/chunks/{chunk.VYKSU5VJ.js.map → chunk.A4YWJJLD.js.map} +0 -0
- /package/dist/chunks/{chunk.43NPPDUU.js.map → chunk.AVJQ2BSM.js.map} +0 -0
- /package/dist/chunks/{chunk.NZAZG5AN.js.map → chunk.CUHMPG7E.js.map} +0 -0
- /package/dist/chunks/{chunk.7CKINLE4.js.map → chunk.DLDE3BC5.js.map} +0 -0
- /package/dist/chunks/{chunk.RSGJ7C32.js.map → chunk.DPTZN6HY.js.map} +0 -0
- /package/dist/chunks/{chunk.GKFUZ44I.js.map → chunk.ELPJP6AL.js.map} +0 -0
- /package/dist/chunks/{chunk.4NG4BW3G.js.map → chunk.FLCUFEHS.js.map} +0 -0
- /package/dist/chunks/{chunk.3CAAVHZZ.js.map → chunk.GAMJZXEL.js.map} +0 -0
- /package/dist/chunks/{chunk.QT64OSWO.js.map → chunk.GGNKDYC2.js.map} +0 -0
- /package/dist/chunks/{chunk.POZGJMTS.js.map → chunk.GYDJFPHM.js.map} +0 -0
- /package/dist/chunks/{chunk.YL6PYHOS.js.map → chunk.IESSP23D.js.map} +0 -0
- /package/dist/chunks/{chunk.62GAQV3Z.js.map → chunk.IYKQTZIY.js.map} +0 -0
- /package/dist/chunks/{chunk.I2JLECCQ.js.map → chunk.JEOPTEUQ.js.map} +0 -0
- /package/dist/chunks/{chunk.QBM7YT5M.js.map → chunk.JLTYAQFG.js.map} +0 -0
- /package/dist/chunks/{chunk.7DUTGUSD.js.map → chunk.JQWJ7PHD.js.map} +0 -0
- /package/dist/chunks/{chunk.OXUFFH57.js.map → chunk.KUZJTGHQ.js.map} +0 -0
- /package/dist/chunks/{chunk.T27ALSOE.js.map → chunk.LL3V6HVM.js.map} +0 -0
- /package/dist/chunks/{chunk.A4KYHNIH.js.map → chunk.LTCRPIZ5.js.map} +0 -0
- /package/dist/chunks/{chunk.2Z2FGA3I.js.map → chunk.OPVDSHPD.js.map} +0 -0
- /package/dist/chunks/{chunk.FSHPI6B5.js.map → chunk.PQLAXTRQ.js.map} +0 -0
- /package/dist/chunks/{chunk.SHF6MEDK.js.map → chunk.RU7P5HHF.js.map} +0 -0
- /package/dist/chunks/{chunk.ZKVZHEJM.js.map → chunk.TY5F2VTK.js.map} +0 -0
- /package/dist/chunks/{chunk.533DZ5GZ.js.map → chunk.UGYBBM5O.js.map} +0 -0
- /package/dist/chunks/{chunk.NQZRYJEZ.js.map → chunk.Y6HNLEFW.js.map} +0 -0
package/dist/events/events.d.ts
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
export type * from './syn-after-hide.ts';
|
|
2
|
+
export type * from './syn-after-show.ts';
|
|
1
3
|
export type * from './syn-blur.ts';
|
|
2
4
|
export type * from './syn-change.ts';
|
|
3
5
|
export type * from './syn-clear.ts';
|
|
4
6
|
export type * from './syn-error.ts';
|
|
5
7
|
export type * from './syn-focus.ts';
|
|
8
|
+
export type * from './syn-hide.ts';
|
|
6
9
|
export type * from './syn-input.ts';
|
|
7
10
|
export type * from './syn-invalid.ts';
|
|
8
11
|
export type * from './syn-load.ts';
|
|
9
12
|
export type * from './syn-remove.ts';
|
|
13
|
+
export type * from './syn-reposition.ts';
|
|
14
|
+
export type * from './syn-show.ts';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Animates an element using keyframes. Returns a promise that resolves after the animation completes or gets canceled.
|
|
3
|
+
*/
|
|
4
|
+
export declare function animateTo(el: HTMLElement, keyframes: Keyframe[], options?: KeyframeAnimationOptions): Promise<unknown>;
|
|
5
|
+
/** Parses a CSS duration and returns the number of milliseconds. */
|
|
6
|
+
export declare function parseDuration(delay: number | string): number;
|
|
7
|
+
/** Tells if the user has enabled the "reduced motion" setting in their browser or OS. */
|
|
8
|
+
export declare function prefersReducedMotion(): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Stops all active animations on the target element. Returns a promise that resolves after all animations are canceled.
|
|
11
|
+
*/
|
|
12
|
+
export declare function stopAnimations(el: HTMLElement): Promise<unknown[]>;
|
|
13
|
+
/**
|
|
14
|
+
* We can't animate `height: auto`, but we can calculate the height and shim keyframes by replacing it with the
|
|
15
|
+
* element's scrollHeight before the animation.
|
|
16
|
+
*/
|
|
17
|
+
export declare function shimKeyframesHeightAuto(keyframes: Keyframe[], calculatedHeight: number): {
|
|
18
|
+
height: string | number | null | undefined;
|
|
19
|
+
composite?: CompositeOperationOrAuto | undefined;
|
|
20
|
+
easing?: string | undefined;
|
|
21
|
+
offset?: number | null | undefined;
|
|
22
|
+
}[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns an element's offset relative to its parent. Similar to element.offsetTop and element.offsetLeft, except the
|
|
3
|
+
* parent doesn't have to be positioned relative or absolute.
|
|
4
|
+
*
|
|
5
|
+
* NOTE: This was created to work around what appears to be a bug in Chrome where a slotted element's offsetParent seems
|
|
6
|
+
* to ignore elements inside the surrounding shadow DOM: https://bugs.chromium.org/p/chromium/issues/detail?id=920069
|
|
7
|
+
*/
|
|
8
|
+
export declare function getOffset(element: HTMLElement, parent: HTMLElement): {
|
|
9
|
+
top: number;
|
|
10
|
+
left: number;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prevents body scrolling. Keeps track of which elements requested a lock so multiple levels of locking are possible
|
|
3
|
+
* without premature unlocking.
|
|
4
|
+
*/
|
|
5
|
+
export declare function lockBodyScrolling(lockingEl: HTMLElement): void;
|
|
6
|
+
/**
|
|
7
|
+
* Unlocks body scrolling. Scrolling will only be unlocked once all elements that requested a lock call this method.
|
|
8
|
+
*/
|
|
9
|
+
export declare function unlockBodyScrolling(lockingEl: HTMLElement): void;
|
|
10
|
+
/** Scrolls an element into view of its container. If the element is already in view, nothing will happen. */
|
|
11
|
+
export declare function scrollIntoView(element: HTMLElement, container: HTMLElement, direction?: 'horizontal' | 'vertical' | 'both', behavior?: 'smooth' | 'auto'): void;
|
package/dist/synergy.d.ts
CHANGED
|
@@ -5,9 +5,12 @@ export { default as SynDivider } from './components/divider/divider.js';
|
|
|
5
5
|
export { default as SynIconButton } from './components/icon-button/icon-button.js';
|
|
6
6
|
export { default as SynIcon } from './components/icon/icon.js';
|
|
7
7
|
export { default as SynInput } from './components/input/input.js';
|
|
8
|
+
export { default as SynOptgroup } from './components/optgroup/optgroup.js';
|
|
9
|
+
export { default as SynOption } from './components/option/option.js';
|
|
8
10
|
export { default as SynRadioButton } from './components/radio-button/radio-button.js';
|
|
9
11
|
export { default as SynRadioGroup } from './components/radio-group/radio-group.js';
|
|
10
12
|
export { default as SynRadio } from './components/radio/radio.js';
|
|
13
|
+
export { default as SynSelect } from './components/select/select.js';
|
|
11
14
|
export { default as SynSwitch } from './components/switch/switch.js';
|
|
12
15
|
export { default as SynTag } from './components/tag/tag.js';
|
|
13
16
|
export { default as SynTextarea } from './components/textarea/textarea.js';
|
package/dist/synergy.js
CHANGED
|
@@ -1,86 +1,106 @@
|
|
|
1
|
-
import {
|
|
2
|
-
textarea_default
|
|
3
|
-
} from "./chunks/chunk.VYKSU5VJ.js";
|
|
4
1
|
import {
|
|
5
2
|
getFormControls,
|
|
6
3
|
serialize
|
|
7
4
|
} from "./chunks/chunk.HG5QC5EW.js";
|
|
8
5
|
import "./chunks/chunk.NKIYFJN2.js";
|
|
9
|
-
import {
|
|
10
|
-
switch_default
|
|
11
|
-
} from "./chunks/chunk.JFCQYLZB.js";
|
|
12
6
|
import {
|
|
13
7
|
tag_default
|
|
14
|
-
} from "./chunks/chunk.
|
|
15
|
-
import
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import "./chunks/chunk.
|
|
8
|
+
} from "./chunks/chunk.Y6HNLEFW.js";
|
|
9
|
+
import {
|
|
10
|
+
textarea_default
|
|
11
|
+
} from "./chunks/chunk.A4YWJJLD.js";
|
|
12
|
+
import "./chunks/chunk.FLCUFEHS.js";
|
|
19
13
|
import "./chunks/chunk.23HTU3YE.js";
|
|
20
14
|
import "./chunks/chunk.YBIBWRKC.js";
|
|
21
15
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./chunks/chunk.
|
|
24
|
-
import "./chunks/chunk.
|
|
16
|
+
switch_default
|
|
17
|
+
} from "./chunks/chunk.5NJ7WWJW.js";
|
|
18
|
+
import "./chunks/chunk.DPTZN6HY.js";
|
|
25
19
|
import "./chunks/chunk.MNMITYTH.js";
|
|
26
20
|
import "./chunks/chunk.AFEABUNX.js";
|
|
21
|
+
import {
|
|
22
|
+
radio_group_default
|
|
23
|
+
} from "./chunks/chunk.JQWJ7PHD.js";
|
|
24
|
+
import "./chunks/chunk.IYKQTZIY.js";
|
|
25
|
+
import "./chunks/chunk.4I6M5V6O.js";
|
|
26
|
+
import "./chunks/chunk.F4MRQLNL.js";
|
|
27
|
+
import {
|
|
28
|
+
select_default
|
|
29
|
+
} from "./chunks/chunk.FOTO5B4G.js";
|
|
30
|
+
import "./chunks/chunk.SS46QCYH.js";
|
|
31
|
+
import "./chunks/chunk.BQG5LF7J.js";
|
|
32
|
+
import "./chunks/chunk.CUHMPG7E.js";
|
|
33
|
+
import "./chunks/chunk.QHFGD6WW.js";
|
|
34
|
+
import "./chunks/chunk.7W73A57K.js";
|
|
35
|
+
import "./chunks/chunk.6XU6OLZ3.js";
|
|
36
|
+
import "./chunks/chunk.OWMT6OL2.js";
|
|
27
37
|
import {
|
|
28
38
|
radio_default
|
|
29
|
-
} from "./chunks/chunk.
|
|
30
|
-
import "./chunks/chunk.
|
|
39
|
+
} from "./chunks/chunk.ELPJP6AL.js";
|
|
40
|
+
import "./chunks/chunk.UGYBBM5O.js";
|
|
31
41
|
import "./chunks/chunk.JBYBQ5TQ.js";
|
|
32
42
|
import "./chunks/chunk.V6VND4OF.js";
|
|
33
43
|
import {
|
|
34
44
|
radio_button_default
|
|
35
|
-
} from "./chunks/chunk.
|
|
36
|
-
import "./chunks/chunk.
|
|
45
|
+
} from "./chunks/chunk.JLTYAQFG.js";
|
|
46
|
+
import "./chunks/chunk.LL3V6HVM.js";
|
|
37
47
|
import "./chunks/chunk.MWDOOCSU.js";
|
|
38
|
-
import
|
|
39
|
-
|
|
40
|
-
|
|
48
|
+
import {
|
|
49
|
+
optgroup_default
|
|
50
|
+
} from "./chunks/chunk.UXUMV3TL.js";
|
|
51
|
+
import "./chunks/chunk.4KLCSMRA.js";
|
|
52
|
+
import "./chunks/chunk.KG52EHDB.js";
|
|
53
|
+
import {
|
|
54
|
+
option_default
|
|
55
|
+
} from "./chunks/chunk.7HS3TULI.js";
|
|
56
|
+
import "./chunks/chunk.3HPG73GG.js";
|
|
57
|
+
import "./chunks/chunk.W6V7TPGK.js";
|
|
58
|
+
import "./chunks/chunk.3B24TYVN.js";
|
|
59
|
+
import "./chunks/chunk.JXOHBU6V.js";
|
|
60
|
+
import "./chunks/chunk.JN7CLMQZ.js";
|
|
41
61
|
import {
|
|
42
62
|
icon_button_default
|
|
43
|
-
} from "./chunks/chunk.
|
|
44
|
-
import "./chunks/chunk.
|
|
63
|
+
} from "./chunks/chunk.7BHGTNHS.js";
|
|
64
|
+
import "./chunks/chunk.PQLAXTRQ.js";
|
|
45
65
|
import "./chunks/chunk.2FN5DTS6.js";
|
|
46
66
|
import "./chunks/chunk.OJF7KL44.js";
|
|
47
67
|
import {
|
|
48
68
|
input_default
|
|
49
|
-
} from "./chunks/chunk.
|
|
50
|
-
import "./chunks/chunk.
|
|
51
|
-
import "./chunks/chunk.
|
|
69
|
+
} from "./chunks/chunk.GAMJZXEL.js";
|
|
70
|
+
import "./chunks/chunk.IESSP23D.js";
|
|
71
|
+
import "./chunks/chunk.KUZJTGHQ.js";
|
|
52
72
|
import "./chunks/chunk.JHXCBOUD.js";
|
|
53
|
-
import "./chunks/chunk.
|
|
73
|
+
import "./chunks/chunk.B2EJGIGY.js";
|
|
54
74
|
import {
|
|
55
75
|
divider_default
|
|
56
|
-
} from "./chunks/chunk.
|
|
76
|
+
} from "./chunks/chunk.GYDJFPHM.js";
|
|
57
77
|
import {
|
|
58
78
|
icon_default
|
|
59
|
-
} from "./chunks/chunk.
|
|
79
|
+
} from "./chunks/chunk.AVJQ2BSM.js";
|
|
60
80
|
import {
|
|
61
81
|
button_group_default
|
|
62
|
-
} from "./chunks/chunk.
|
|
82
|
+
} from "./chunks/chunk.4ZO3EKCL.js";
|
|
63
83
|
import {
|
|
64
84
|
checkbox_default
|
|
65
|
-
} from "./chunks/chunk.
|
|
66
|
-
import "./chunks/chunk.
|
|
85
|
+
} from "./chunks/chunk.RU7P5HHF.js";
|
|
86
|
+
import "./chunks/chunk.JEOPTEUQ.js";
|
|
67
87
|
import "./chunks/chunk.WFAJR3FN.js";
|
|
68
88
|
import "./chunks/chunk.4CBN5LPQ.js";
|
|
69
89
|
import "./chunks/chunk.2XZKXVMR.js";
|
|
70
|
-
import "./chunks/chunk.
|
|
90
|
+
import "./chunks/chunk.LTCRPIZ5.js";
|
|
71
91
|
import "./chunks/chunk.PGCXJ2PT.js";
|
|
72
92
|
import "./chunks/chunk.FA6V2WD6.js";
|
|
73
93
|
import {
|
|
74
94
|
button_default
|
|
75
|
-
} from "./chunks/chunk.
|
|
76
|
-
import "./chunks/chunk.
|
|
77
|
-
import "./chunks/chunk.
|
|
95
|
+
} from "./chunks/chunk.DLDE3BC5.js";
|
|
96
|
+
import "./chunks/chunk.GGNKDYC2.js";
|
|
97
|
+
import "./chunks/chunk.TY5F2VTK.js";
|
|
78
98
|
import "./chunks/chunk.N2I6HVX3.js";
|
|
99
|
+
import "./chunks/chunk.XGXFE6IF.js";
|
|
79
100
|
import "./chunks/chunk.LAB4YJYE.js";
|
|
80
101
|
import "./chunks/chunk.A3SKDWCT.js";
|
|
81
|
-
import "./chunks/chunk.XGXFE6IF.js";
|
|
82
102
|
import "./chunks/chunk.AMTCNRDE.js";
|
|
83
|
-
import "./chunks/chunk.
|
|
103
|
+
import "./chunks/chunk.63IJYG6Q.js";
|
|
84
104
|
import "./chunks/chunk.RSONAU45.js";
|
|
85
105
|
import "./chunks/chunk.PJO6TM3T.js";
|
|
86
106
|
import {
|
|
@@ -96,8 +116,8 @@ import {
|
|
|
96
116
|
} from "./chunks/chunk.C7624ITA.js";
|
|
97
117
|
import "./chunks/chunk.CQ2JMH2J.js";
|
|
98
118
|
import "./chunks/chunk.IUC3AWAU.js";
|
|
99
|
-
import "./chunks/chunk.
|
|
100
|
-
import "./chunks/chunk.
|
|
119
|
+
import "./chunks/chunk.OPVDSHPD.js";
|
|
120
|
+
import "./chunks/chunk.C5W2Y6KW.js";
|
|
101
121
|
import "./chunks/chunk.4ZURABYO.js";
|
|
102
122
|
import "./chunks/chunk.O7USYXBT.js";
|
|
103
123
|
import "./chunks/chunk.DJOAQ4JU.js";
|
|
@@ -109,9 +129,12 @@ export {
|
|
|
109
129
|
icon_default as SynIcon,
|
|
110
130
|
icon_button_default as SynIconButton,
|
|
111
131
|
input_default as SynInput,
|
|
132
|
+
optgroup_default as SynOptgroup,
|
|
133
|
+
option_default as SynOption,
|
|
112
134
|
radio_default as SynRadio,
|
|
113
135
|
radio_button_default as SynRadioButton,
|
|
114
136
|
radio_group_default as SynRadioGroup,
|
|
137
|
+
select_default as SynSelect,
|
|
115
138
|
switch_default as SynSwitch,
|
|
116
139
|
tag_default as SynTag,
|
|
117
140
|
textarea_default as SynTextarea,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface ElementAnimation {
|
|
2
|
+
keyframes: Keyframe[];
|
|
3
|
+
rtlKeyframes?: Keyframe[];
|
|
4
|
+
options?: KeyframeAnimationOptions;
|
|
5
|
+
}
|
|
6
|
+
export interface ElementAnimationMap {
|
|
7
|
+
[animationName: string]: ElementAnimation;
|
|
8
|
+
}
|
|
9
|
+
export interface GetAnimationOptions {
|
|
10
|
+
/**
|
|
11
|
+
* The component's directionality. When set to "rtl", `rtlKeyframes` will be preferred over `keyframes` where
|
|
12
|
+
* available using getAnimation().
|
|
13
|
+
*/
|
|
14
|
+
dir: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Sets a default animation. Components should use the `name.animation` for primary animations and `name.part.animation`
|
|
18
|
+
* for secondary animations, e.g. `dialog.show` and `dialog.overlay.show`. For modifiers, use `drawer.showTop`.
|
|
19
|
+
*/
|
|
20
|
+
export declare function setDefaultAnimation(animationName: string, animation: ElementAnimation | null): void;
|
|
21
|
+
/** Sets a custom animation for the specified element. */
|
|
22
|
+
export declare function setAnimation(el: Element, animationName: string, animation: ElementAnimation | null): void;
|
|
23
|
+
/** Gets an element's animation. Falls back to the default if no animation is found. */
|
|
24
|
+
export declare function getAnimation(el: Element, animationName: string, options: GetAnimationOptions): ElementAnimation;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getAnimation,
|
|
3
|
+
setAnimation,
|
|
4
|
+
setDefaultAnimation
|
|
5
|
+
} from "../chunks/chunk.BQG5LF7J.js";
|
|
6
|
+
import "../chunks/chunk.DJOAQ4JU.js";
|
|
7
|
+
export {
|
|
8
|
+
getAnimation,
|
|
9
|
+
setAnimation,
|
|
10
|
+
setDefaultAnimation
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=animation-registry.js.map
|