@shibui-ui/ui 1.24.1 → 1.25.1
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/components/atoms/index.d.ts +45 -16
- package/dist/components/atoms/index.d.ts.map +1 -1
- package/dist/components/molecules/index.d.ts +20 -1
- package/dist/components/molecules/index.d.ts.map +1 -1
- package/dist/components/organisms/index.d.ts +17 -1
- package/dist/components/organisms/index.d.ts.map +1 -1
- package/dist/index.d.ts +3 -82
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +79 -80
- package/dist/index.js.map +1 -1
- package/dist/index10.js +82 -18
- package/dist/index10.js.map +1 -1
- package/dist/index11.js +84 -69
- package/dist/index11.js.map +1 -1
- package/dist/index12.js +40 -26
- package/dist/index12.js.map +1 -1
- package/dist/index13.js +16 -39
- package/dist/index13.js.map +1 -1
- package/dist/index14.js +29 -44
- package/dist/index14.js.map +1 -1
- package/dist/index15.js +16 -117
- package/dist/index15.js.map +1 -1
- package/dist/index16.js +48 -40
- package/dist/index16.js.map +1 -1
- package/dist/index17.js +41 -25
- package/dist/index17.js.map +1 -1
- package/dist/index18.js +76 -49
- package/dist/index18.js.map +1 -1
- package/dist/index19.js +19 -39
- package/dist/index19.js.map +1 -1
- package/dist/index194.js +94 -24
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +2 -2
- package/dist/index197.js +2 -24
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +74 -2
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +64 -35
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +21 -41
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +2 -2
- package/dist/index201.js +54 -13
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +2 -2
- package/dist/index203.js +2 -2
- package/dist/index204.js +143 -157
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +43 -24
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +51 -2
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +2 -11
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +33 -2
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +2 -91
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +90 -26
- package/dist/index21.js.map +1 -1
- package/dist/index210.js +6 -2
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +2 -41
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +260 -2
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +16 -5
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +2 -2
- package/dist/index215.js +2 -35
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +59 -42
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +32 -2
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +2 -85
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +2 -2
- package/dist/index22.js +41 -48
- package/dist/index22.js.map +1 -1
- package/dist/index220.js +73 -65
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +81 -2
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +2 -10
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +133 -2
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +2 -26
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +2 -2
- package/dist/index226.js +66 -12
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +97 -2
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +2 -2
- package/dist/index229.js +62 -24
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +50 -94
- package/dist/index23.js.map +1 -1
- package/dist/index230.js +2 -2
- package/dist/index231.js +2 -2
- package/dist/index232.js +12 -2
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +5 -16
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +2 -2
- package/dist/index235.js +11 -9
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +2 -2
- package/dist/index237.js +76 -34
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +2 -2
- package/dist/index239.js +2 -27
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +37 -34
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +39 -2
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +2 -34
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +235 -12
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +82 -2
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +2 -9
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +94 -2
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +2 -5
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +268 -2
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +2 -36
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +21 -2
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +51 -32
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +2 -31
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +9 -2
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +2 -19
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +15 -2
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +2 -2
- package/dist/index255.js +135 -69
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +2 -11
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +5 -2
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +2 -78
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +9 -2
- package/dist/index259.js.map +1 -1
- package/dist/index26.js +31 -236
- package/dist/index26.js.map +1 -1
- package/dist/index260.js +2 -32
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +2 -2
- package/dist/index262.js +92 -9
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +59 -2
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +2 -16
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +41 -2
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +2 -16
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +34 -9
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +8 -54
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +2 -2
- package/dist/index27.js +27 -58
- package/dist/index27.js.map +1 -1
- package/dist/index270.js +42 -7
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +2 -2
- package/dist/index272.js +2 -34
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +16 -2
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +9 -2
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +6 -13
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +2 -2
- package/dist/index277.js +8 -15
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +2 -2
- package/dist/index279.js +55 -2
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +247 -24
- package/dist/index28.js.map +1 -1
- package/dist/index280.js +2 -42
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +2 -100
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +20 -2
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +2 -97
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +33 -2
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +6 -27
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +2 -2
- package/dist/index287.js +9 -44
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +2 -2
- package/dist/index289.js +2 -33
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +249 -39
- package/dist/index29.js.map +1 -1
- package/dist/index290.js +36 -2
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +2 -57
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +24 -2
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +2 -2
- package/dist/index294.js +26 -247
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +2 -2
- package/dist/index296.js +2 -72
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +42 -2
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +7 -56
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +2 -133
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +32 -19
- package/dist/index30.js.map +1 -1
- package/dist/index300.js +30 -2
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +2 -12
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +34 -2
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +2 -162
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +26 -42
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +2 -81
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +10 -2
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +2 -71
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +2 -2
- package/dist/index309.js +19 -2
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +96 -11
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +2 -81
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +2 -2
- package/dist/index312.js +42 -2
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +2 -74
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +25 -67
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +2 -2
- package/dist/index316.js +9 -17
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +2 -2
- package/dist/index318.js +84 -32
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +2 -2
- package/dist/index32.js +40 -48
- package/dist/index32.js.map +1 -1
- package/dist/index320.js +68 -77
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +2 -2
- package/dist/index322.js +12 -148
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +1 -1
- package/dist/index324.js +28 -6
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +2 -2
- package/dist/index326.js +78 -87
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +2 -2
- package/dist/index328.js +78 -2
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +2 -237
- package/dist/index329.js.map +1 -1
- package/dist/index33.js +20 -56
- package/dist/index33.js.map +1 -1
- package/dist/index330.js +11 -6
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +2 -2
- package/dist/index332.js +18 -59
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +2 -2
- package/dist/index334.js +12 -5
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +2 -2
- package/dist/index336.js +2 -15
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +88 -2
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +24 -2
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +2 -92
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +59 -35
- package/dist/index34.js.map +1 -1
- package/dist/index340.js +42 -14
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +2 -2
- package/dist/index342.js +22 -80
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +2 -2
- package/dist/index344.js +2 -18
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +16 -2
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +2 -268
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +176 -2
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +2 -2
- package/dist/index349.js +35 -39
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +101 -28
- package/dist/index35.js.map +1 -1
- package/dist/index350.js +3 -3
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +2 -2
- package/dist/index352.js +19 -26
- package/dist/index352.js.map +1 -1
- package/dist/index357.js +26 -19
- package/dist/index357.js.map +1 -1
- package/dist/index36.js +115 -33
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +41 -115
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +34 -246
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +30 -137
- package/dist/index39.js.map +1 -1
- package/dist/index4.js +26 -84
- package/dist/index4.js.map +1 -1
- package/dist/index40.js +26 -400
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +28 -77
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +23 -26
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +36 -33
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +62 -16
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +138 -21
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +129 -22
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +41 -19
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +11 -82
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +56 -279
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +21 -34
- package/dist/index5.js.map +1 -1
- package/dist/index50.js +280 -33
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +74 -94
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +66 -41
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +333 -62
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +96 -256
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +38 -130
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +251 -50
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +144 -115
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +93 -183
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +33 -339
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +2 -2
- package/dist/index60.js +102 -66
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +73 -179
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +117 -97
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +113 -263
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +258 -251
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +177 -79
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +261 -140
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +183 -100
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +28 -89
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +20 -161
- package/dist/index69.js.map +1 -1
- package/dist/index7.js +394 -32
- package/dist/index7.js.map +1 -1
- package/dist/index70.js +190 -53
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +204 -112
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +2 -2
- package/dist/index73.js +89 -28
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +126 -63
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +122 -111
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +67 -64
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +112 -88
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +87 -16
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +151 -79
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +25 -127
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +104 -186
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +59 -20
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +17 -129
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +88 -217
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +64 -112
- package/dist/index84.js.map +1 -1
- package/dist/index9.js +30 -45
- package/dist/index9.js.map +1 -1
- package/dist/src/components/atoms/index.d.ts +45 -16
- package/dist/src/components/atoms/index.d.ts.map +1 -1
- package/dist/src/components/molecules/index.d.ts +20 -1
- package/dist/src/components/molecules/index.d.ts.map +1 -1
- package/dist/src/components/organisms/index.d.ts +17 -1
- package/dist/src/components/organisms/index.d.ts.map +1 -1
- package/dist/src/index.d.ts +3 -82
- package/dist/src/index.d.ts.map +1 -1
- package/dist/tokens.css +353 -7
- package/dist/vite.config.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/index84.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { unsafeCSS, css, LitElement } from "lit";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
1
|
+
import { unsafeCSS, css, LitElement, html } from "lit";
|
|
2
|
+
import { state, customElement } from "lit/decorators.js";
|
|
3
|
+
import { repeat as c } from "./index263.js";
|
|
4
|
+
import toastManagerCss from "./index264.js";
|
|
5
5
|
import sharedTokens from "./index196.js";
|
|
6
|
+
import "./index59.js";
|
|
6
7
|
var __defProp = Object.defineProperty;
|
|
7
8
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
9
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -13,128 +14,79 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
13
14
|
if (kind && result) __defProp(target, key, result);
|
|
14
15
|
return result;
|
|
15
16
|
};
|
|
16
|
-
|
|
17
|
-
up: "translateY(var(--lib-space-lg))",
|
|
18
|
-
down: "translateY(calc(-1 * var(--lib-space-lg)))",
|
|
19
|
-
left: "translateX(var(--lib-space-lg))",
|
|
20
|
-
right: "translateX(calc(-1 * var(--lib-space-lg)))",
|
|
21
|
-
fade: "none"
|
|
22
|
-
};
|
|
23
|
-
const EASING_MAP = {
|
|
24
|
-
default: "var(--ease-default)",
|
|
25
|
-
out: "var(--ease-out)",
|
|
26
|
-
bounce: "var(--ease-bounce)"
|
|
27
|
-
};
|
|
28
|
-
let LibStaggerContainer = class extends LitElement {
|
|
17
|
+
let LibToastManager = class extends LitElement {
|
|
29
18
|
constructor() {
|
|
30
19
|
super(...arguments);
|
|
31
|
-
this.
|
|
32
|
-
this.duration = 600;
|
|
33
|
-
this.direction = "up";
|
|
34
|
-
this.easing = "out";
|
|
35
|
-
this.threshold = 0.15;
|
|
36
|
-
this.once = true;
|
|
37
|
-
this._observer = null;
|
|
20
|
+
this._toasts = [];
|
|
38
21
|
}
|
|
39
|
-
/*
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
this._setupObserver();
|
|
49
|
-
const slot = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector("slot");
|
|
50
|
-
slot == null ? void 0 : slot.addEventListener("slotchange", () => {
|
|
51
|
-
this._applyCssVars();
|
|
52
|
-
});
|
|
22
|
+
/* ──────────────────────────────────────────────────────────
|
|
23
|
+
API PÚBLICA
|
|
24
|
+
─────────────────────────────────────────────────────────── */
|
|
25
|
+
add(config) {
|
|
26
|
+
const id = crypto.randomUUID();
|
|
27
|
+
this._toasts = [...this._toasts, { ...config, id }];
|
|
28
|
+
if (config.duration !== 0) {
|
|
29
|
+
setTimeout(() => this._dismissWithAnimation(id), config.duration ?? 5e3);
|
|
30
|
+
}
|
|
53
31
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
super.disconnectedCallback();
|
|
57
|
-
(_a = this._observer) == null ? void 0 : _a.disconnect();
|
|
58
|
-
this._observer = null;
|
|
32
|
+
dismiss(id) {
|
|
33
|
+
this._dismissWithAnimation(id);
|
|
59
34
|
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
this.style.setProperty("--_stagger-from", DIRECTION_MAP[this.direction]);
|
|
63
|
-
this.style.setProperty("--_stagger-ease", EASING_MAP[this.easing]);
|
|
64
|
-
this.style.setProperty("--_stagger-duration", `${this.duration}ms`);
|
|
35
|
+
dismissAll() {
|
|
36
|
+
this._toasts.forEach((t) => this._dismissWithAnimation(t.id));
|
|
65
37
|
}
|
|
66
|
-
/*
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
38
|
+
/* ──────────────────────────────────────────────────────────
|
|
39
|
+
ANIMACIÓN DE SALIDA
|
|
40
|
+
Aplica .is-leaving → espera la transición → elimina del array
|
|
41
|
+
─────────────────────────────────────────────────────────── */
|
|
42
|
+
_dismissWithAnimation(id) {
|
|
43
|
+
const el = this.renderRoot.querySelector(`[data-toast-id="${id}"]`);
|
|
44
|
+
if (el) {
|
|
45
|
+
el.classList.add("is-leaving");
|
|
46
|
+
el.addEventListener("animationend", () => {
|
|
47
|
+
this._removeToast(id);
|
|
48
|
+
}, { once: true });
|
|
49
|
+
} else {
|
|
50
|
+
this._removeToast(id);
|
|
51
|
+
}
|
|
71
52
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
this._observer = new IntersectionObserver(
|
|
75
|
-
(entries) => {
|
|
76
|
-
entries.forEach((entry) => {
|
|
77
|
-
var _a;
|
|
78
|
-
if (entry.isIntersecting) {
|
|
79
|
-
this.setAttribute("visible", "");
|
|
80
|
-
this.dispatchEvent(new CustomEvent("ui-lib-stagger-visible", {
|
|
81
|
-
bubbles: true,
|
|
82
|
-
composed: true
|
|
83
|
-
}));
|
|
84
|
-
if (this.once) {
|
|
85
|
-
(_a = this._observer) == null ? void 0 : _a.disconnect();
|
|
86
|
-
this._observer = null;
|
|
87
|
-
}
|
|
88
|
-
} else if (!this.once) {
|
|
89
|
-
this.removeAttribute("visible");
|
|
90
|
-
this.dispatchEvent(new CustomEvent("ui-lib-stagger-hidden", {
|
|
91
|
-
bubbles: true,
|
|
92
|
-
composed: true
|
|
93
|
-
}));
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
threshold: this.threshold,
|
|
99
|
-
rootMargin: "0px 0px -40px 0px"
|
|
100
|
-
// Dispara un poco antes de llegar al borde
|
|
101
|
-
}
|
|
102
|
-
);
|
|
103
|
-
this._observer.observe(this);
|
|
53
|
+
_removeToast(id) {
|
|
54
|
+
this._toasts = this._toasts.filter((t) => t.id !== id);
|
|
104
55
|
}
|
|
56
|
+
/* ──────────────────────────────────────────────────────────
|
|
57
|
+
RENDER
|
|
58
|
+
─────────────────────────────────────────────────────────── */
|
|
105
59
|
render() {
|
|
106
|
-
return
|
|
60
|
+
return html`
|
|
61
|
+
${c(
|
|
62
|
+
this._toasts,
|
|
63
|
+
(toast) => toast.id,
|
|
64
|
+
(toast) => html`
|
|
65
|
+
<lib-alert
|
|
66
|
+
data-toast-id="${toast.id}"
|
|
67
|
+
type="${toast.type}"
|
|
68
|
+
heading="${toast.heading ?? ""}"
|
|
69
|
+
closable
|
|
70
|
+
@ui-lib-alert-close="${(_e) => this.dismiss(toast.id)}"
|
|
71
|
+
>
|
|
72
|
+
${toast.message}
|
|
73
|
+
</lib-alert>
|
|
74
|
+
`
|
|
75
|
+
)}
|
|
76
|
+
`;
|
|
107
77
|
}
|
|
108
78
|
};
|
|
109
|
-
|
|
79
|
+
LibToastManager.styles = [
|
|
110
80
|
css`${unsafeCSS(sharedTokens)}`,
|
|
111
|
-
css`${unsafeCSS(
|
|
81
|
+
css`${unsafeCSS(toastManagerCss)}`
|
|
112
82
|
];
|
|
113
83
|
__decorateClass([
|
|
114
|
-
|
|
115
|
-
],
|
|
116
|
-
__decorateClass([
|
|
117
|
-
|
|
118
|
-
],
|
|
119
|
-
__decorateClass([
|
|
120
|
-
property({ type: String, reflect: true })
|
|
121
|
-
], LibStaggerContainer.prototype, "direction", 2);
|
|
122
|
-
__decorateClass([
|
|
123
|
-
property({ type: String })
|
|
124
|
-
], LibStaggerContainer.prototype, "easing", 2);
|
|
125
|
-
__decorateClass([
|
|
126
|
-
property({ type: Number })
|
|
127
|
-
], LibStaggerContainer.prototype, "threshold", 2);
|
|
128
|
-
__decorateClass([
|
|
129
|
-
property({ type: Boolean })
|
|
130
|
-
], LibStaggerContainer.prototype, "once", 2);
|
|
131
|
-
__decorateClass([
|
|
132
|
-
queryAssignedElements({ flatten: true })
|
|
133
|
-
], LibStaggerContainer.prototype, "_items", 2);
|
|
134
|
-
LibStaggerContainer = __decorateClass([
|
|
135
|
-
customElement("lib-stagger-container")
|
|
136
|
-
], LibStaggerContainer);
|
|
84
|
+
state()
|
|
85
|
+
], LibToastManager.prototype, "_toasts", 2);
|
|
86
|
+
LibToastManager = __decorateClass([
|
|
87
|
+
customElement("lib-toast-manager")
|
|
88
|
+
], LibToastManager);
|
|
137
89
|
export {
|
|
138
|
-
|
|
90
|
+
LibToastManager
|
|
139
91
|
};
|
|
140
92
|
//# sourceMappingURL=index84.js.map
|
package/dist/index84.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index84.js","sources":["../src/components/organisms/
|
|
1
|
+
{"version":3,"file":"index84.js","sources":["../src/components/organisms/toast-manager/lib-toast-manager.component.ts"],"sourcesContent":["import { LitElement, TemplateResult, html, css, unsafeCSS } from 'lit';\nimport { customElement, state } from 'lit/decorators.js';\nimport { repeat } from 'lit/directives/repeat.js';\nimport toastManagerCss from './lib-toast-manager.css?inline';\nimport sharedTokens from '../../../styles/shared/tokens.css?inline';\nimport '../../molecules/lib-alert/lib-alert.component';\nimport type { AlertCloseDetail, AlertType } from './../../molecules/lib-alert/lib-alert.types';\n\n/* AlertType importado desde types, no desde el componente */\n\n/* ── Interfaz pública de cada toast ── */\nexport interface Toast {\n id: string;\n message: string;\n type: AlertType;\n heading?: string; /* Override del título — si no se pasa usa el tipo */\n duration?: number; /* ms. 0 = persistente. Default: 5000 */\n}\n\n/**\n * @element lib-toast-manager\n *\n * Contenedor fijo de notificaciones efímeras.\n * Usa `lib-alert` internamente con `closable` siempre activo.\n *\n * @method add(config) — Añade un toast. Acepta Omit<Toast, 'id'>.\n * @method dismiss(id) — Elimina un toast por id (con animación de salida).\n * @method dismissAll() — Elimina todos los toasts activos.\n */\n@customElement('lib-toast-manager')\nexport class LibToastManager extends LitElement {\n static override styles = [\n css`${unsafeCSS(sharedTokens)}`,\n css`${unsafeCSS(toastManagerCss)}`,\n ];\n\n @state() private _toasts: Toast[] = [];\n\n /* ──────────────────────────────────────────────────────────\n API PÚBLICA\n ─────────────────────────────────────────────────────────── */\n\n public add(config: Omit<Toast, 'id'>): void {\n const id: string = crypto.randomUUID();\n this._toasts = [...this._toasts, { ...config, id }];\n\n if (config.duration !== 0) {\n setTimeout((): void => this._dismissWithAnimation(id), config.duration ?? 5000);\n }\n }\n\n public dismiss(id: string): void {\n this._dismissWithAnimation(id);\n }\n\n public dismissAll(): void {\n this._toasts.forEach(t => this._dismissWithAnimation(t.id));\n }\n\n /* ──────────────────────────────────────────────────────────\n ANIMACIÓN DE SALIDA\n Aplica .is-leaving → espera la transición → elimina del array\n ─────────────────────────────────────────────────────────── */\n private _dismissWithAnimation(id: string): void {\n const el = this.renderRoot.querySelector<HTMLElement>(`[data-toast-id=\"${id}\"]`);\n\n if (el) {\n el.classList.add('is-leaving');\n /* duration-base = 200ms + pequeño margen */\n el.addEventListener('animationend', (): void => {\n this._removeToast(id);\n }, { once: true });\n } else {\n /* Si el elemento ya no está en el DOM, borramos directamente */\n this._removeToast(id);\n }\n }\n\n private _removeToast(id: string): void {\n this._toasts = this._toasts.filter((t: Toast): boolean => t.id !== id);\n }\n\n /* ──────────────────────────────────────────────────────────\n RENDER\n ─────────────────────────────────────────────────────────── */\n protected override render(): TemplateResult {\n return html`\n ${repeat(\n this._toasts,\n (toast: Toast): string => toast.id,\n (toast: Toast): TemplateResult => html`\n <lib-alert\n data-toast-id=\"${toast.id}\"\n type=\"${toast.type}\"\n heading=\"${toast.heading ?? ''}\"\n closable\n @ui-lib-alert-close=\"${(_e: CustomEvent<AlertCloseDetail>): void => this.dismiss(toast.id)}\"\n >\n ${toast.message}\n </lib-alert>\n `\n )}\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'lib-toast-manager': LibToastManager;\n }\n}"],"names":["repeat"],"mappings":";;;;;;;;;;;;;;;;AA8BO,IAAM,kBAAN,cAA8B,WAAW;AAAA,EAAzC,cAAA;AAAA,UAAA,GAAA,SAAA;AAMI,SAAQ,UAAmB,CAAA;AAAA,EAAC;AAAA;AAAA;AAAA;AAAA,EAM9B,IAAI,QAAiC;AAC1C,UAAM,KAAa,OAAO,WAAA;AAC1B,SAAK,UAAU,CAAC,GAAG,KAAK,SAAS,EAAE,GAAG,QAAQ,IAAI;AAElD,QAAI,OAAO,aAAa,GAAG;AACzB,iBAAW,MAAY,KAAK,sBAAsB,EAAE,GAAG,OAAO,YAAY,GAAI;AAAA,IAChF;AAAA,EACF;AAAA,EAEO,QAAQ,IAAkB;AAC/B,SAAK,sBAAsB,EAAE;AAAA,EAC/B;AAAA,EAEO,aAAmB;AACxB,SAAK,QAAQ,QAAQ,CAAA,MAAK,KAAK,sBAAsB,EAAE,EAAE,CAAC;AAAA,EAC5D;AAAA;AAAA;AAAA;AAAA;AAAA,EAMQ,sBAAsB,IAAkB;AAC9C,UAAM,KAAK,KAAK,WAAW,cAA2B,mBAAmB,EAAE,IAAI;AAE/E,QAAI,IAAI;AACN,SAAG,UAAU,IAAI,YAAY;AAE7B,SAAG,iBAAiB,gBAAgB,MAAY;AAC9C,aAAK,aAAa,EAAE;AAAA,MACtB,GAAG,EAAE,MAAM,MAAM;AAAA,IACnB,OAAO;AAEL,WAAK,aAAa,EAAE;AAAA,IACtB;AAAA,EACF;AAAA,EAEQ,aAAa,IAAkB;AACrC,SAAK,UAAU,KAAK,QAAQ,OAAO,CAAC,MAAsB,EAAE,OAAO,EAAE;AAAA,EACvE;AAAA;AAAA;AAAA;AAAA,EAKmB,SAAyB;AAC1C,WAAO;AAAA,QACHA;AAAAA,MACA,KAAK;AAAA,MACL,CAAC,UAAyB,MAAM;AAAA,MAChC,CAAC,UAAiC;AAAA;AAAA,6BAEb,MAAM,EAAE;AAAA,oBACjB,MAAM,IAAI;AAAA,uBACP,MAAM,WAAW,EAAE;AAAA;AAAA,mCAEP,CAAC,OAA4C,KAAK,QAAQ,MAAM,EAAE,CAAC;AAAA;AAAA,cAExF,MAAM,OAAO;AAAA;AAAA;AAAA,IAAA,CAGpB;AAAA;AAAA,EAEL;AACF;AA1Ea,gBACK,SAAS;AAAA,EACvB,MAAM,UAAU,YAAY,CAAC;AAAA,EAC7B,MAAM,UAAU,eAAe,CAAC;AAClC;AAEiB,gBAAA;AAAA,EAAhB,MAAA;AAAM,GANI,gBAMM,WAAA,WAAA,CAAA;AANN,kBAAN,gBAAA;AAAA,EADN,cAAc,mBAAmB;AAAA,GACrB,eAAA;"}
|
package/dist/index9.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { unsafeCSS, css, LitElement } from "lit";
|
|
2
2
|
import { property, customElement } from "lit/decorators.js";
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import closeButtonCss from "./index206.js";
|
|
3
|
+
import { bentoItemTemplate } from "./index277.js";
|
|
4
|
+
import itemCss from "./index278.js";
|
|
6
5
|
import sharedTokens from "./index196.js";
|
|
7
6
|
var __defProp = Object.defineProperty;
|
|
8
7
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -14,62 +13,48 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
14
13
|
if (kind && result) __defProp(target, key, result);
|
|
15
14
|
return result;
|
|
16
15
|
};
|
|
17
|
-
let
|
|
16
|
+
let LibBentoItem = class extends LitElement {
|
|
18
17
|
constructor() {
|
|
19
18
|
super(...arguments);
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.ariaLabel = "Cerrar";
|
|
19
|
+
this.cols = 1;
|
|
20
|
+
this.rows = 1;
|
|
21
|
+
this.interactive = false;
|
|
22
|
+
this.flush = false;
|
|
25
23
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
composed: true
|
|
36
|
-
})
|
|
37
|
-
);
|
|
24
|
+
/**
|
|
25
|
+
* FIX: grid-column/row deben aplicarse sobre :host (el elemento
|
|
26
|
+
* que participa en el grid del padre), NO sobre un div interno.
|
|
27
|
+
* Las CSS custom properties no suben al padre, solo bajan.
|
|
28
|
+
* La solución correcta es escribir directamente en this.style.
|
|
29
|
+
*/
|
|
30
|
+
updated() {
|
|
31
|
+
this.style.gridColumn = `span ${this.cols}`;
|
|
32
|
+
this.style.gridRow = `span ${this.rows}`;
|
|
38
33
|
}
|
|
39
34
|
render() {
|
|
40
|
-
return
|
|
41
|
-
variant: this.variant,
|
|
42
|
-
size: this.size,
|
|
43
|
-
icon: this.icon,
|
|
44
|
-
disabled: this.disabled,
|
|
45
|
-
ariaLabel: this.ariaLabel ?? "Cerrar",
|
|
46
|
-
onClick: this._handleClick.bind(this)
|
|
47
|
-
});
|
|
35
|
+
return bentoItemTemplate();
|
|
48
36
|
}
|
|
49
37
|
};
|
|
50
|
-
|
|
38
|
+
LibBentoItem.styles = [
|
|
51
39
|
css`${unsafeCSS(sharedTokens)}`,
|
|
52
|
-
css`${unsafeCSS(
|
|
40
|
+
css`${unsafeCSS(itemCss)}`
|
|
53
41
|
];
|
|
54
42
|
__decorateClass([
|
|
55
|
-
property({ type:
|
|
56
|
-
],
|
|
43
|
+
property({ type: Number })
|
|
44
|
+
], LibBentoItem.prototype, "cols", 2);
|
|
57
45
|
__decorateClass([
|
|
58
|
-
property({ type:
|
|
59
|
-
],
|
|
60
|
-
__decorateClass([
|
|
61
|
-
property({ type: String })
|
|
62
|
-
], LibCloseButton.prototype, "icon", 2);
|
|
46
|
+
property({ type: Number })
|
|
47
|
+
], LibBentoItem.prototype, "rows", 2);
|
|
63
48
|
__decorateClass([
|
|
64
49
|
property({ type: Boolean, reflect: true })
|
|
65
|
-
],
|
|
50
|
+
], LibBentoItem.prototype, "interactive", 2);
|
|
66
51
|
__decorateClass([
|
|
67
|
-
property({ type:
|
|
68
|
-
],
|
|
69
|
-
|
|
70
|
-
customElement("lib-
|
|
71
|
-
],
|
|
52
|
+
property({ type: Boolean, reflect: true })
|
|
53
|
+
], LibBentoItem.prototype, "flush", 2);
|
|
54
|
+
LibBentoItem = __decorateClass([
|
|
55
|
+
customElement("lib-bento-item")
|
|
56
|
+
], LibBentoItem);
|
|
72
57
|
export {
|
|
73
|
-
|
|
58
|
+
LibBentoItem
|
|
74
59
|
};
|
|
75
60
|
//# sourceMappingURL=index9.js.map
|
package/dist/index9.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index9.js","sources":["../src/components/atoms/
|
|
1
|
+
{"version":3,"file":"index9.js","sources":["../src/components/atoms/bento-item/lib-bento-item.component.ts"],"sourcesContent":["import { LitElement, css, unsafeCSS, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { bentoItemTemplate } from './lib-bento-item.html';\nimport itemCss from './lib-bento-item.css?inline';\nimport sharedTokens from '../../../styles/shared/tokens.css?inline';\n\n/**\n * lib-bento-item — Celda de la rejilla bento\n *\n * Úsalo como hijo directo de lib-bento-grid.\n *\n * @prop cols — Columnas que ocupa (default 1)\n * @prop rows — Filas que ocupa (default 1)\n * @prop interactive — Añade hover y cursor pointer\n * @prop flush — Elimina el padding interno (para imágenes a sangre)\n *\n * @slot — Contenido de la celda\n */\n@customElement('lib-bento-item')\nexport class LibBentoItem extends LitElement {\n static override styles = [\n css`${unsafeCSS(sharedTokens)}`,\n css`${unsafeCSS(itemCss)}`,\n ];\n\n @property({ type: Number })\n cols = 1;\n\n @property({ type: Number })\n rows = 1;\n\n @property({ type: Boolean, reflect: true })\n interactive = false;\n\n @property({ type: Boolean, reflect: true })\n flush = false;\n\n /**\n * FIX: grid-column/row deben aplicarse sobre :host (el elemento\n * que participa en el grid del padre), NO sobre un div interno.\n * Las CSS custom properties no suben al padre, solo bajan.\n * La solución correcta es escribir directamente en this.style.\n */\n override updated(): void {\n this.style.gridColumn = `span ${this.cols}`;\n this.style.gridRow = `span ${this.rows}`;\n }\n\n protected override render(): TemplateResult {\n return bentoItemTemplate(this);\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'lib-bento-item': LibBentoItem;\n }\n}"],"names":[],"mappings":";;;;;;;;;;;;;;;AAmBO,IAAM,eAAN,cAA2B,WAAW;AAAA,EAAtC,cAAA;AAAA,UAAA,GAAA,SAAA;AAOL,SAAA,OAAO;AAGP,SAAA,OAAO;AAGP,SAAA,cAAc;AAGd,SAAA,QAAQ;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQC,UAAgB;AACvB,SAAK,MAAM,aAAa,QAAQ,KAAK,IAAI;AACzC,SAAK,MAAM,UAAa,QAAQ,KAAK,IAAI;AAAA,EAC3C;AAAA,EAEmB,SAAyB;AAC1C,WAAO,kBAAsB;AAAA,EAC/B;AACF;AAhCa,aACK,SAAS;AAAA,EACvB,MAAM,UAAU,YAAY,CAAC;AAAA,EAC7B,MAAM,UAAU,OAAO,CAAC;AAC1B;AAGA,gBAAA;AAAA,EADC,SAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GANf,aAOX,WAAA,QAAA,CAAA;AAGA,gBAAA;AAAA,EADC,SAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GATf,aAUX,WAAA,QAAA,CAAA;AAGA,gBAAA;AAAA,EADC,SAAS,EAAE,MAAM,SAAS,SAAS,MAAM;AAAA,GAZ/B,aAaX,WAAA,eAAA,CAAA;AAGA,gBAAA;AAAA,EADC,SAAS,EAAE,MAAM,SAAS,SAAS,MAAM;AAAA,GAf/B,aAgBX,WAAA,SAAA,CAAA;AAhBW,eAAN,gBAAA;AAAA,EADN,cAAc,gBAAgB;AAAA,GAClB,YAAA;"}
|
|
@@ -1,17 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* -
|
|
10
|
-
*
|
|
11
|
-
* -
|
|
12
|
-
* -
|
|
13
|
-
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
1
|
+
export * from './accordion-item/lib-accordion-item.component';
|
|
2
|
+
export * from './aspect-ratio/lib-aspect-ratio.component';
|
|
3
|
+
export * from './avatar/lib-avatar.component';
|
|
4
|
+
export * from './background/lib-background.component';
|
|
5
|
+
export * from './badge/lib-badge.component';
|
|
6
|
+
export * from './bento-item/lib-bento-item.component';
|
|
7
|
+
export * from './burger-button/lib-burger-button.component';
|
|
8
|
+
export * from './button/lib-button.component';
|
|
9
|
+
export * from './card/lib-card.component';
|
|
10
|
+
export * from './card/glass-card/lib-glass-card.component';
|
|
11
|
+
export * from './card/spotlight-card/lib-spotlight-card.component';
|
|
12
|
+
export * from './card/card-grid/lib-card-grid.component';
|
|
13
|
+
export * from './checkbox/lib-checkbox.component';
|
|
14
|
+
export * from './close-button/lib-close-button.component';
|
|
15
|
+
export * from './code-block/lib-code-block.component';
|
|
16
|
+
export * from './color-scale/lib-color-scale.component';
|
|
17
|
+
export * from './content-pillar/content-pillar.component';
|
|
18
|
+
export * from './copy-button/lib-copy-button.component';
|
|
19
|
+
export * from './display-heading/lib-display-heading.component';
|
|
20
|
+
export * from './divider/lib-divider.component';
|
|
21
|
+
export * from './eyebrow/lib-eyebrow.component';
|
|
22
|
+
export * from './icon/lib-icon.component';
|
|
23
|
+
export * from './kbd/lib-kbd.component';
|
|
24
|
+
export * from './label/lib-label.component';
|
|
25
|
+
export * from './lib-counter/lib-counter.component';
|
|
26
|
+
export * from './liquid-button/lib-liquid-button.component';
|
|
27
|
+
export * from './magnetic/lib-magnetic.component';
|
|
28
|
+
export * from './progress/lib-progress.component';
|
|
29
|
+
export * from './progress-circle/lib-progress-circle.component';
|
|
30
|
+
export * from './quote/lib-quote.component';
|
|
31
|
+
export * from './radio/lib-radio.component';
|
|
32
|
+
export * from './rating/lib-rating.component';
|
|
33
|
+
export * from './reading-progress/lib-reading-progress.component';
|
|
34
|
+
export * from './ripple/lib-ripple.component';
|
|
35
|
+
export * from './select-option/lib-select-option.component';
|
|
36
|
+
export * from './skeleton/lib-skeleton.component';
|
|
37
|
+
export * from './spacer/lib-spacer.component';
|
|
38
|
+
export * from './spinner/lib-spinner.component';
|
|
39
|
+
export * from './status-dot/lib-status-dot.component';
|
|
40
|
+
export * from './step/lib-step.component';
|
|
41
|
+
export * from './switch/lib-switch.component';
|
|
42
|
+
export * from './text-glitch/lib-text-glitch.component';
|
|
43
|
+
export * from './text-list/lib-text-list.component';
|
|
44
|
+
export * from './tooltip/lib-tooltip.component';
|
|
45
|
+
export * from './visually-hidden/lib-visually-hidden.component';
|
|
17
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,oDAAoD,CAAC;AACnE,cAAc,0CAA0C,CAAC;AACzD,cAAc,mCAAmC,CAAC;AAClD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yCAAyC,CAAC;AACxD,cAAc,iDAAiD,CAAC;AAChE,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qCAAqC,CAAC;AACpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iDAAiD,CAAC;AAChE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mDAAmD,CAAC;AAClE,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iDAAiD,CAAC"}
|
|
@@ -1,2 +1,21 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './breadcrumb/lib-breadcrumb.component';
|
|
2
|
+
export * from './button-group/lib-button-group.component';
|
|
3
|
+
export * from './checkbox-card/lib-checkbox-card.component';
|
|
4
|
+
export * from './chip/lib-chip.component';
|
|
5
|
+
export * from './color-picker/lib-color-picker.component';
|
|
6
|
+
export * from './dropdown/lib-dropdown.component';
|
|
7
|
+
export * from './empty-state/lib-empty-state.component';
|
|
8
|
+
export * from './file-uploader/lib-file-uploader.component';
|
|
9
|
+
export * from './header/lib-header.component';
|
|
10
|
+
export * from './input/lib-input.component';
|
|
11
|
+
export * from './lib-alert/lib-alert.component';
|
|
12
|
+
export * from './lib-alert/lib-alert.types';
|
|
13
|
+
export * from './modal/lib-modal.component';
|
|
14
|
+
export * from './pagination/lib-pagination.component';
|
|
15
|
+
export * from './range-slider/lib-range-slider.component';
|
|
16
|
+
export * from './segmented-control/lib-segmented-control.component';
|
|
17
|
+
export * from './select/lib-select.component';
|
|
18
|
+
export * from './tabs/lib-tabs.component';
|
|
19
|
+
export * from './tree-select/lib-tree-node.component';
|
|
20
|
+
export * from './tree-select/lib-tree-select.component.html';
|
|
2
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qDAAqD,CAAC;AACpE,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC"}
|
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './accordion/lib-accordion.component';
|
|
2
|
+
export * from './bento-grid/lib-bento-grid.component';
|
|
3
|
+
export * from './carousel/lib-carousel.component';
|
|
4
|
+
export * from './cursor-follower/lib-cursor-follower.component';
|
|
5
|
+
export * from './data-table/lib-data-table.component';
|
|
6
|
+
export * from './dialog/lib-dialog.component';
|
|
7
|
+
export * from './drawer/lib-drawer.component';
|
|
8
|
+
export * from './footer/lib-footer.component';
|
|
9
|
+
export * from './horizontal-scroll-section/lib-horizontal-scroll-section.component';
|
|
10
|
+
export * from './parallax-container/lib-parallax.component';
|
|
11
|
+
export * from './parallax-text/lib-parallax-text-stack.component';
|
|
12
|
+
export * from './sidebar/lib-sidebar.component';
|
|
13
|
+
export * from './stagger/lib-stagger-container.component';
|
|
14
|
+
export * from './stepper/lib-stepper.component';
|
|
15
|
+
export * from './timeline/lib-timeline.component';
|
|
16
|
+
export * from './timeline/lib-timeline-item.component';
|
|
17
|
+
export * from './toast-manager/lib-toast-manager.component';
|
|
2
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iDAAiD,CAAC;AAChE,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qEAAqE,CAAC;AACpF,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mDAAmD,CAAC;AAClE,cAAc,iCAAiC,CAAC;AAChD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,6CAA6C,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,86 +1,7 @@
|
|
|
1
1
|
import './styles/shared/tokens.css';
|
|
2
2
|
export * from './shared/icons/icon-registry';
|
|
3
|
-
export * from './components/atoms
|
|
4
|
-
export * from './components/
|
|
5
|
-
export * from './components/
|
|
6
|
-
export * from './components/atoms/skeleton/lib-skeleton.component';
|
|
7
|
-
export * from './components/atoms/text-list/lib-text-list.component';
|
|
8
|
-
export * from './components/atoms/close-button/lib-close-button.component';
|
|
9
|
-
export * from './components/atoms/card/glass-card/lib-glass-card.component';
|
|
10
|
-
export * from './components/atoms/progress/lib-progress.component';
|
|
11
|
-
export * from './components/atoms/accordion-item/lib-accordion-item.component';
|
|
12
|
-
export * from './components/atoms/tooltip/lib-tooltip.component';
|
|
13
|
-
export * from './components/atoms/step/lib-step.component';
|
|
14
|
-
export * from './components/atoms/rating/lib-rating.component';
|
|
15
|
-
export * from './components/atoms/progress-circle/lib-progress-circle.component';
|
|
16
|
-
export * from './components/atoms/badge/lib-badge.component';
|
|
17
|
-
export * from './components/atoms/switch/lib-switch.component';
|
|
18
|
-
export * from './components/atoms/select-option/lib-select-option.component';
|
|
19
|
-
export * from './components/atoms/card/lib-card.component';
|
|
20
|
-
export * from './components/atoms/label/lib-label.component';
|
|
21
|
-
export * from './components/atoms/icon/lib-icon.component';
|
|
22
|
-
export * from './components/atoms/button/lib-button.component';
|
|
23
|
-
export * from './components/atoms/magnetic/lib-magnetic.component';
|
|
24
|
-
export * from './components/atoms/card/spotlight-card/lib-spotlight-card.component';
|
|
25
|
-
export * from './components/atoms/lib-counter/lib-counter.component';
|
|
26
|
-
export * from './components/atoms/divider/lib-divider.component';
|
|
27
|
-
export * from './components/atoms/spacer/lib-spacer.component';
|
|
28
|
-
export * from './components/atoms/ripple/lib-ripple.component';
|
|
29
|
-
export * from './components/atoms/aspect-ratio/lib-aspect-ratio.component';
|
|
30
|
-
export * from './components/atoms/visually-hidden/lib-visually-hidden.component';
|
|
31
|
-
export * from './components/atoms/checkbox/lib-checkbox.component';
|
|
32
|
-
export * from './components/atoms/radio/lib-radio.component';
|
|
33
|
-
export * from './components/atoms/kbd/lib-kbd.component';
|
|
34
|
-
export * from './components/atoms/spinner/lib-spinner.component';
|
|
35
|
-
export * from './components/atoms/bento-item/lib-bento-item.component';
|
|
36
|
-
export * from './components/atoms/reading-progress/lib-reading-progress.component';
|
|
37
|
-
export * from './components/atoms/liquid-button/lib-liquid-button.component';
|
|
38
|
-
export * from './components/atoms/text-glitch/lib-text-glitch.component';
|
|
39
|
-
export * from './components/atoms/background/lib-background.component';
|
|
40
|
-
export * from './components/atoms/burger-button/lib-burger-button.component';
|
|
41
|
-
export * from './components/atoms/eyebrow/lib-eyebrow.component';
|
|
42
|
-
export * from './components/atoms/display-heading/lib-display-heading.component';
|
|
43
|
-
export * from './components/atoms/card/card-grid/lib-card-grid.component';
|
|
44
|
-
export * from './components/atoms/content-pillar/content-pillar.component';
|
|
45
|
-
export * from './components/atoms/quote/lib-quote.component';
|
|
46
|
-
export * from './components/atoms/color-scale/lib-color-scale.component';
|
|
47
|
-
export * from './components/molecules/breadcrumb/lib-breadcrumb.component';
|
|
48
|
-
export * from './components/molecules/select/lib-select.component';
|
|
49
|
-
export * from './components/molecules/lib-alert/lib-alert.component';
|
|
50
|
-
export * from './components/molecules/dropdown/lib-dropdown.component';
|
|
51
|
-
export * from './components/molecules/empty-state/lib-empty-state.component';
|
|
52
|
-
export * from './components/molecules/chip/lib-chip.component';
|
|
53
|
-
export * from './components/molecules/file-uploader/lib-file-uploader.component';
|
|
54
|
-
export * from './components/molecules/segmented-control/lib-segmented-control.component';
|
|
55
|
-
export * from './components/molecules/input/lib-input.component';
|
|
56
|
-
export * from './components/molecules/range-slider/lib-range-slider.component';
|
|
57
|
-
export * from './components/molecules/tree-select/lib-tree-select.component.html';
|
|
58
|
-
export * from './components/molecules/color-picker/lib-color-picker.component';
|
|
59
|
-
export * from './components/molecules/pagination/lib-pagination.component';
|
|
60
|
-
export * from './components/molecules/tabs/lib-tabs.component';
|
|
61
|
-
export * from './components/molecules/modal/lib-modal.component';
|
|
62
|
-
export * from './components/molecules/tree-select/lib-tree-node.component';
|
|
63
|
-
export * from './components/molecules/button-group/lib-button-group.component';
|
|
64
|
-
export * from './components/molecules/checkbox-card/lib-checkbox-card.component';
|
|
65
|
-
export * from './components/molecules/header/lib-header.component';
|
|
66
|
-
export * from './components/atoms/code-block/lib-code-block.component';
|
|
67
|
-
export * from './components/organisms/dialog/lib-dialog.component';
|
|
68
|
-
export * from './components/organisms/sidebar/lib-sidebar.component';
|
|
69
|
-
export * from './components/organisms/stepper/lib-stepper.component';
|
|
70
|
-
export * from './components/organisms/drawer/lib-drawer.component';
|
|
71
|
-
export * from './components/organisms/data-table/lib-data-table.component';
|
|
72
|
-
export * from './components/organisms/accordion/lib-accordion.component';
|
|
73
|
-
export * from './components/organisms/toast-manager/lib-toast-manager.component';
|
|
74
|
-
export * from './components/organisms/parallax-container/lib-parallax.component';
|
|
75
|
-
export * from './components/organisms/parallax-text/lib-parallax-text-stack.component';
|
|
76
|
-
export * from './components/organisms/timeline/lib-timeline-item.component';
|
|
77
|
-
export * from './components/organisms/timeline/lib-timeline.component';
|
|
78
|
-
export * from './components/organisms/horizontal-scroll-section/lib-horizontal-scroll-section.component';
|
|
79
|
-
export * from './components/organisms/carousel/lib-carousel.component';
|
|
80
|
-
export * from './components/organisms/bento-grid/lib-bento-grid.component';
|
|
81
|
-
export * from './components/organisms/footer/lib-footer.component';
|
|
82
|
-
export * from './components/organisms/cursor-follower/lib-cursor-follower.component';
|
|
83
|
-
export * from './components/organisms/stagger/lib-stagger-container.component';
|
|
84
|
-
export * from './components/molecules/lib-alert/lib-alert.types';
|
|
3
|
+
export * from './components/atoms';
|
|
4
|
+
export * from './components/molecules';
|
|
5
|
+
export * from './components/organisms';
|
|
85
6
|
export * from './types/public';
|
|
86
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAC;AAEpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC"}
|