gbs-add-block 2.1.0 → 2.3.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.
Files changed (129) hide show
  1. package/.gbs/skills/gbs-components/SKILL.md +190 -134
  2. package/.gbs/skills/gbs-components/references/install.md +25 -3
  3. package/.gbs/skills/gbs-components/references/styling.md +246 -207
  4. package/CHANGELOG.md +74 -0
  5. package/README.md +154 -23
  6. package/index.cjs +212 -3
  7. package/package.json +41 -10
  8. package/schema/passport-v1.schema.json +204 -0
  9. package/source/beta-components/accordion/passport.json +259 -0
  10. package/source/beta-components/accordion/styles.css +207 -208
  11. package/source/beta-components/alert/passport.json +250 -0
  12. package/source/beta-components/alert/styles.css +154 -155
  13. package/source/beta-components/avatar/passport.json +294 -0
  14. package/source/beta-components/avatar/styles.css +225 -226
  15. package/source/beta-components/badge/passport.json +332 -0
  16. package/source/beta-components/badge/styles.css +203 -204
  17. package/source/beta-components/breadcrumb/passport.json +243 -0
  18. package/source/beta-components/breadcrumb/styles.css +138 -140
  19. package/source/beta-components/button/passport.json +402 -0
  20. package/source/beta-components/button/passport.manual.json +31 -0
  21. package/source/beta-components/button/styles.css +232 -234
  22. package/source/beta-components/card/passport.json +337 -0
  23. package/source/beta-components/card/styles.css +230 -232
  24. package/source/beta-components/checkbox/passport.json +456 -0
  25. package/source/beta-components/checkbox/styles.css +211 -213
  26. package/source/beta-components/combobox/passport.json +456 -0
  27. package/source/beta-components/combobox/styles.css +419 -417
  28. package/source/beta-components/data-grid/agent/coerce.ts +368 -0
  29. package/source/beta-components/data-grid/agent/contract.ts +410 -0
  30. package/source/beta-components/data-grid/agent/dataset.ts +92 -0
  31. package/source/beta-components/data-grid/agent/engine.ts +470 -0
  32. package/source/beta-components/data-grid/agent/executors.ts +155 -0
  33. package/source/beta-components/data-grid/agent/index.ts +79 -0
  34. package/source/beta-components/data-grid/agent/intent.ts +324 -0
  35. package/source/beta-components/data-grid/agent/operations.ts +335 -0
  36. package/source/beta-components/data-grid/agent/validate.ts +630 -0
  37. package/source/beta-components/data-grid/agent/webmcp.ts +107 -0
  38. package/source/beta-components/data-grid/index.ts +14 -7
  39. package/source/beta-components/data-grid/passport.json +1051 -0
  40. package/source/beta-components/data-grid/passport.manual.json +255 -0
  41. package/source/beta-components/data-grid/react/AskGrid.tsx +164 -0
  42. package/source/beta-components/data-grid/react/DataGrid.tsx +39 -0
  43. package/source/beta-components/data-grid/styles.css +874 -716
  44. package/source/beta-components/date-picker/passport.json +407 -0
  45. package/source/beta-components/date-picker/styles.css +445 -446
  46. package/source/beta-components/dialog/passport.json +344 -0
  47. package/source/beta-components/dialog/styles.css +280 -279
  48. package/source/beta-components/file-uploader/passport.json +518 -0
  49. package/source/beta-components/file-uploader/styles.css +394 -396
  50. package/source/beta-components/input/passport.json +536 -0
  51. package/source/beta-components/input/styles.css +295 -297
  52. package/source/beta-components/menu/passport.json +322 -0
  53. package/source/beta-components/menu/styles.css +224 -223
  54. package/source/beta-components/modal/passport.json +289 -0
  55. package/source/beta-components/modal/styles.css +241 -240
  56. package/source/beta-components/number-input/passport.json +541 -0
  57. package/source/beta-components/number-input/styles.css +230 -231
  58. package/source/beta-components/popover/passport.json +238 -0
  59. package/source/beta-components/popover/styles.css +148 -147
  60. package/source/beta-components/progress/passport.json +270 -0
  61. package/source/beta-components/progress/styles.css +200 -201
  62. package/source/beta-components/radio-group/passport.json +477 -0
  63. package/source/beta-components/radio-group/styles.css +269 -270
  64. package/source/beta-components/shared/core/agent/adapter.ts +65 -0
  65. package/source/beta-components/shared/core/agent/history.ts +120 -0
  66. package/source/beta-components/shared/core/agent/index.ts +46 -0
  67. package/source/beta-components/shared/core/agent/numbers.ts +217 -0
  68. package/source/beta-components/shared/core/agent/schema.ts +180 -0
  69. package/source/beta-components/shared/core/agent/types.ts +169 -0
  70. package/source/beta-components/shared/core/agent/webmcp.ts +328 -0
  71. package/source/beta-components/shared/index.ts +9 -0
  72. package/source/beta-components/shared/react/GramproAIProvider.tsx +50 -0
  73. package/source/beta-components/shared/react/useAskAgent.ts +217 -0
  74. package/source/beta-components/shared/styles.css +79 -0
  75. package/source/beta-components/shared/version.json +4 -4
  76. package/source/beta-components/shared/version.ts +6 -6
  77. package/source/beta-components/skeleton/passport.json +251 -0
  78. package/source/beta-components/skeleton/styles.css +185 -187
  79. package/source/beta-components/spinner/passport.json +245 -0
  80. package/source/beta-components/spinner/styles.css +173 -174
  81. package/source/beta-components/switch/passport.json +421 -0
  82. package/source/beta-components/switch/styles.css +227 -229
  83. package/source/beta-components/tabs/passport.json +315 -0
  84. package/source/beta-components/tabs/styles.css +263 -264
  85. package/source/beta-components/textarea/passport.json +382 -0
  86. package/source/beta-components/textarea/styles.css +158 -160
  87. package/source/beta-components/toaster/passport.json +221 -0
  88. package/source/beta-components/toaster/styles.css +282 -282
  89. package/source/beta-components/tooltip/passport.json +170 -0
  90. package/source/beta-components/tooltip/styles.css +71 -73
  91. package/tools/env.cjs +61 -0
  92. package/tools/passport/cli.cjs +79 -0
  93. package/tools/passport/extract.cjs +493 -0
  94. package/tools/passport/index.cjs +185 -0
  95. package/tools/passport/merge.cjs +131 -0
  96. package/tools/passport/policy.cjs +65 -0
  97. package/tools/passport/validate.cjs +277 -0
  98. package/tools/ts-require.cjs +79 -0
  99. package/source/beta-components/accordion/__tests__/core.test.ts +0 -58
  100. package/source/beta-components/alert/__tests__/core.test.ts +0 -17
  101. package/source/beta-components/avatar/__tests__/core.test.ts +0 -88
  102. package/source/beta-components/badge/__tests__/core.test.ts +0 -46
  103. package/source/beta-components/breadcrumb/__tests__/core.test.ts +0 -58
  104. package/source/beta-components/button/__tests__/core.test.ts +0 -31
  105. package/source/beta-components/card/__tests__/core.test.ts +0 -57
  106. package/source/beta-components/checkbox/__tests__/core.test.ts +0 -40
  107. package/source/beta-components/combobox/__tests__/core.test.ts +0 -134
  108. package/source/beta-components/data-grid/__tests__/core.test.ts +0 -356
  109. package/source/beta-components/data-grid/__tests__/export.test.ts +0 -70
  110. package/source/beta-components/data-grid/__tests__/pdf.test.ts +0 -209
  111. package/source/beta-components/date-picker/__tests__/core.test.ts +0 -273
  112. package/source/beta-components/dialog/__tests__/core.test.ts +0 -86
  113. package/source/beta-components/file-uploader/__tests__/core.test.ts +0 -395
  114. package/source/beta-components/input/__tests__/core.test.ts +0 -75
  115. package/source/beta-components/menu/__tests__/core.test.ts +0 -120
  116. package/source/beta-components/modal/__tests__/core.test.ts +0 -55
  117. package/source/beta-components/number-input/__tests__/core.test.ts +0 -151
  118. package/source/beta-components/progress/__tests__/core.test.ts +0 -56
  119. package/source/beta-components/radio-group/__tests__/core.test.ts +0 -64
  120. package/source/beta-components/shared/__tests__/boundaries.test.ts +0 -95
  121. package/source/beta-components/shared/__tests__/core.test.ts +0 -55
  122. package/source/beta-components/shared/__tests__/position.test.ts +0 -143
  123. package/source/beta-components/skeleton/__tests__/core.test.ts +0 -41
  124. package/source/beta-components/spinner/__tests__/core.test.ts +0 -48
  125. package/source/beta-components/switch/__tests__/core.test.ts +0 -64
  126. package/source/beta-components/tabs/__tests__/core.test.ts +0 -51
  127. package/source/beta-components/textarea/__tests__/core.test.ts +0 -38
  128. package/source/beta-components/toaster/__tests__/core.test.ts +0 -256
  129. package/source/beta-components/tooltip/__tests__/core.test.ts +0 -42
@@ -1,160 +1,158 @@
1
- /*
2
- * Textarea styles.
3
- *
4
- * Tokens read the shared --gbs-* variables when they are set on an ancestor
5
- * (set them on :root to theme every component at once) and fall back to the
6
- * same default palette otherwise. Rules live in the `gbs` layer. Declare
7
- * where that sits in your global CSS — e.g. `@layer reset, gbs, app,
8
- * utilities;` — and anything in a later layer, Tailwind utilities included,
9
- * overrides them.
10
- */
11
-
12
- @layer gbs {
13
- .ta-root {
14
- --ta-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
15
- --ta-muted: var(--gbs-muted, var(--dg-muted, light-dark(#71717a, #a1a1aa)));
16
- --ta-border: var(--gbs-border, var(--dg-border, light-dark(#e4e4e7, #27272a)));
17
- --ta-input-bg: var(--gbs-input-bg, var(--dg-input-bg, light-dark(#ffffff, #121216)));
18
- --ta-readonly-bg: var(--gbs-readonly-bg, light-dark(#fafafa, #0e0e12));
19
- --ta-focus: var(--gbs-focus, var(--dg-focus, light-dark(#2563eb, #60a5fa)));
20
- --ta-danger: var(--gbs-danger, var(--dg-danger, light-dark(#dc2626, #f87171)));
21
- --ta-radius: var(--gbs-radius, var(--dg-radius, 8px));
22
- --ta-font-size: var(--gbs-font-size, var(--dg-font-size, 13px));
23
- --ta-px: 10px;
24
- --ta-py: 8px;
25
-
26
- color-scheme: inherit;
27
- display: flex;
28
- flex-direction: column;
29
- gap: 4px;
30
- width: 100%;
31
- min-width: 0;
32
- font-size: var(--ta-font-size);
33
- line-height: 1.4;
34
- color: var(--ta-fg);
35
- }
36
-
37
- :where(.dark, [data-theme="dark"]) .ta-root {
38
- color-scheme: dark;
39
- }
40
- :where(.light, [data-theme="light"]) .ta-root {
41
- color-scheme: light;
42
- }
43
-
44
- :where(.ta-root) *,
45
- :where(.ta-root) *::before,
46
- :where(.ta-root) *::after {
47
- box-sizing: border-box;
48
- }
49
-
50
- .ta-root[data-size="sm"] {
51
- --ta-font-size: 12px;
52
- --ta-px: 8px;
53
- --ta-py: 6px;
54
- }
55
- .ta-root[data-size="lg"] {
56
- --ta-font-size: 14px;
57
- --ta-px: 12px;
58
- --ta-py: 10px;
59
- }
60
-
61
- .ta-label {
62
- font-weight: 500;
63
- }
64
- .ta-label[data-required]::after {
65
- content: " *";
66
- color: var(--ta-danger);
67
- }
68
-
69
- .ta-input {
70
- display: block;
71
- width: 100%;
72
- min-height: calc(1lh + 2 * var(--ta-py) + 2px);
73
- margin: 0;
74
- padding: var(--ta-py) var(--ta-px);
75
- border: 1px solid var(--ta-border);
76
- border-radius: var(--ta-radius);
77
- background: var(--ta-input-bg);
78
- color: inherit;
79
- font: inherit;
80
- line-height: 1.5;
81
- }
82
- .ta-input::placeholder {
83
- color: var(--ta-muted);
84
- }
85
- .ta-input:hover:not(:disabled) {
86
- border-color: color-mix(in oklab, var(--ta-border), var(--ta-fg) 25%);
87
- }
88
- .ta-input:focus-visible {
89
- outline: 2px solid var(--ta-focus);
90
- outline-offset: -1px;
91
- }
92
- .ta-input[data-invalid] {
93
- border-color: var(--ta-danger);
94
- outline-color: var(--ta-danger);
95
- }
96
- .ta-input:read-only {
97
- background: var(--ta-readonly-bg);
98
- }
99
- .ta-input:disabled {
100
- opacity: 0.55;
101
- cursor: not-allowed;
102
- }
103
-
104
- .ta-input[data-resize="none"] {
105
- resize: none;
106
- }
107
- .ta-input[data-resize="vertical"] {
108
- resize: vertical;
109
- }
110
- .ta-input[data-resize="horizontal"] {
111
- resize: horizontal;
112
- }
113
- .ta-input[data-resize="both"] {
114
- resize: both;
115
- }
116
-
117
- /*
118
- * Auto-resize in CSS where supported. The row limits come from the
119
- * component; `--ta-max-rows: none` makes max-height invalid, which means no limit.
120
- */
121
- @supports (field-sizing: content) {
122
- .ta-input[data-autoresize] {
123
- field-sizing: content;
124
- min-height: calc(var(--ta-min-rows, 3) * 1lh + 2 * var(--ta-py) + 2px);
125
- max-height: calc(var(--ta-max-rows) * 1lh + 2 * var(--ta-py) + 2px);
126
- }
127
- }
128
-
129
- .ta-footer {
130
- display: flex;
131
- align-items: baseline;
132
- gap: 8px;
133
- }
134
- .ta-description {
135
- flex: 1 1 auto;
136
- min-width: 0;
137
- color: var(--ta-muted);
138
- font-size: 0.92em;
139
- }
140
- .ta-count {
141
- flex: none;
142
- margin-inline-start: auto;
143
- color: var(--ta-muted);
144
- font-size: 0.92em;
145
- font-variant-numeric: tabular-nums;
146
- }
147
- .ta-count[data-over] {
148
- color: var(--ta-danger);
149
- }
150
- .ta-error {
151
- color: var(--ta-danger);
152
- font-size: 0.92em;
153
- }
154
-
155
- @media (forced-colors: active) {
156
- .ta-input:focus-visible {
157
- outline-color: Highlight;
158
- }
159
- }
160
- }
1
+ /*
2
+ * Textarea styles.
3
+ *
4
+ * Tokens read the shared --gbs-* variables when they are set on an ancestor
5
+ * (set them on :root to theme every component at once) and fall back to the
6
+ * same default palette otherwise. Rules are unlayered: they beat a framework
7
+ * reset on specificity, and lose to anything you pass through `className`.
8
+ * With Tailwind v4, import this file after the framework and inside its
9
+ * components layer - see the README.
10
+ */
11
+
12
+ .ta-root {
13
+ --ta-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
14
+ --ta-muted: var(--gbs-muted, var(--dg-muted, light-dark(#71717a, #a1a1aa)));
15
+ --ta-border: var(--gbs-border, var(--dg-border, light-dark(#e4e4e7, #27272a)));
16
+ --ta-input-bg: var(--gbs-input-bg, var(--dg-input-bg, light-dark(#ffffff, #121216)));
17
+ --ta-readonly-bg: var(--gbs-readonly-bg, light-dark(#fafafa, #0e0e12));
18
+ --ta-focus: var(--gbs-focus, var(--dg-focus, light-dark(#2563eb, #60a5fa)));
19
+ --ta-danger: var(--gbs-danger, var(--dg-danger, light-dark(#dc2626, #f87171)));
20
+ --ta-radius: var(--gbs-radius, var(--dg-radius, 8px));
21
+ --ta-font-size: var(--gbs-font-size, var(--dg-font-size, 13px));
22
+ --ta-px: 10px;
23
+ --ta-py: 8px;
24
+
25
+ color-scheme: inherit;
26
+ display: flex;
27
+ flex-direction: column;
28
+ gap: 4px;
29
+ width: 100%;
30
+ min-width: 0;
31
+ font-size: var(--ta-font-size);
32
+ line-height: 1.4;
33
+ color: var(--ta-fg);
34
+ }
35
+
36
+ :where(.dark, [data-theme="dark"]) .ta-root {
37
+ color-scheme: dark;
38
+ }
39
+ :where(.light, [data-theme="light"]) .ta-root {
40
+ color-scheme: light;
41
+ }
42
+
43
+ :where(.ta-root) *,
44
+ :where(.ta-root) *::before,
45
+ :where(.ta-root) *::after {
46
+ box-sizing: border-box;
47
+ }
48
+
49
+ .ta-root[data-size="sm"] {
50
+ --ta-font-size: 12px;
51
+ --ta-px: 8px;
52
+ --ta-py: 6px;
53
+ }
54
+ .ta-root[data-size="lg"] {
55
+ --ta-font-size: 14px;
56
+ --ta-px: 12px;
57
+ --ta-py: 10px;
58
+ }
59
+
60
+ .ta-label {
61
+ font-weight: 500;
62
+ }
63
+ .ta-label[data-required]::after {
64
+ content: " *";
65
+ color: var(--ta-danger);
66
+ }
67
+
68
+ .ta-input {
69
+ display: block;
70
+ width: 100%;
71
+ min-height: calc(1lh + 2 * var(--ta-py) + 2px);
72
+ margin: 0;
73
+ padding: var(--ta-py) var(--ta-px);
74
+ border: 1px solid var(--ta-border);
75
+ border-radius: var(--ta-radius);
76
+ background: var(--ta-input-bg);
77
+ color: inherit;
78
+ font: inherit;
79
+ line-height: 1.5;
80
+ }
81
+ .ta-input::placeholder {
82
+ color: var(--ta-muted);
83
+ }
84
+ .ta-input:hover:not(:disabled) {
85
+ border-color: color-mix(in oklab, var(--ta-border), var(--ta-fg) 25%);
86
+ }
87
+ .ta-input:focus-visible {
88
+ outline: 2px solid var(--ta-focus);
89
+ outline-offset: -1px;
90
+ }
91
+ .ta-input[data-invalid] {
92
+ border-color: var(--ta-danger);
93
+ outline-color: var(--ta-danger);
94
+ }
95
+ .ta-input:read-only {
96
+ background: var(--ta-readonly-bg);
97
+ }
98
+ .ta-input:disabled {
99
+ opacity: 0.55;
100
+ cursor: not-allowed;
101
+ }
102
+
103
+ .ta-input[data-resize="none"] {
104
+ resize: none;
105
+ }
106
+ .ta-input[data-resize="vertical"] {
107
+ resize: vertical;
108
+ }
109
+ .ta-input[data-resize="horizontal"] {
110
+ resize: horizontal;
111
+ }
112
+ .ta-input[data-resize="both"] {
113
+ resize: both;
114
+ }
115
+
116
+ /*
117
+ * Auto-resize in CSS where supported. The row limits come from the
118
+ * component; `--ta-max-rows: none` makes max-height invalid, which means no limit.
119
+ */
120
+ @supports (field-sizing: content) {
121
+ .ta-input[data-autoresize] {
122
+ field-sizing: content;
123
+ min-height: calc(var(--ta-min-rows, 3) * 1lh + 2 * var(--ta-py) + 2px);
124
+ max-height: calc(var(--ta-max-rows) * 1lh + 2 * var(--ta-py) + 2px);
125
+ }
126
+ }
127
+
128
+ .ta-footer {
129
+ display: flex;
130
+ align-items: baseline;
131
+ gap: 8px;
132
+ }
133
+ .ta-description {
134
+ flex: 1 1 auto;
135
+ min-width: 0;
136
+ color: var(--ta-muted);
137
+ font-size: 0.92em;
138
+ }
139
+ .ta-count {
140
+ flex: none;
141
+ margin-inline-start: auto;
142
+ color: var(--ta-muted);
143
+ font-size: 0.92em;
144
+ font-variant-numeric: tabular-nums;
145
+ }
146
+ .ta-count[data-over] {
147
+ color: var(--ta-danger);
148
+ }
149
+ .ta-error {
150
+ color: var(--ta-danger);
151
+ font-size: 0.92em;
152
+ }
153
+
154
+ @media (forced-colors: active) {
155
+ .ta-input:focus-visible {
156
+ outline-color: Highlight;
157
+ }
158
+ }
@@ -0,0 +1,221 @@
1
+ {
2
+ "passportVersion": "1.0.0",
3
+ "identity": {
4
+ "component": "Toaster",
5
+ "folder": "toaster",
6
+ "exports": [
7
+ "DEFAULT_DURATION",
8
+ "DEFAULT_LIMIT",
9
+ "EXIT_DURATION",
10
+ "Toaster"
11
+ ]
12
+ },
13
+ "source": {
14
+ "libraryVersion": "2.3.0",
15
+ "files": [
16
+ "core/api.ts",
17
+ "core/index.ts",
18
+ "core/store.ts",
19
+ "core/toast.ts",
20
+ "core/types.ts",
21
+ "index.ts",
22
+ "react/ToastItem.tsx",
23
+ "react/Toaster.tsx",
24
+ "react/icons.tsx",
25
+ "react/locale.ts",
26
+ "react/props.ts",
27
+ "react/useToasts.ts"
28
+ ],
29
+ "sourceHash": "sha256:84c41d93aba1f4c7690d206e574f8e9f6cc55420859f12cd3eb362ab9d768ea4"
30
+ },
31
+ "props": [
32
+ {
33
+ "name": "className",
34
+ "type": "string",
35
+ "typeText": "string | undefined",
36
+ "required": false,
37
+ "origin": "derived"
38
+ },
39
+ {
40
+ "name": "classNames",
41
+ "type": "other",
42
+ "typeText": "Partial<Record<ToasterSlot, string>> | undefined",
43
+ "required": false,
44
+ "origin": "derived"
45
+ },
46
+ {
47
+ "name": "closeButton",
48
+ "type": "boolean",
49
+ "typeText": "boolean | undefined",
50
+ "required": false,
51
+ "default": true,
52
+ "origin": "derived",
53
+ "description": "Show a close button on dismissible toasts. Default true.",
54
+ "descriptionOrigin": "jsdoc"
55
+ },
56
+ {
57
+ "name": "dir",
58
+ "type": "enum",
59
+ "values": [
60
+ "auto",
61
+ "ltr",
62
+ "rtl"
63
+ ],
64
+ "typeText": "'ltr' | 'rtl' | 'auto' | undefined",
65
+ "required": false,
66
+ "origin": "derived"
67
+ },
68
+ {
69
+ "name": "duration",
70
+ "type": "number",
71
+ "typeText": "number | undefined",
72
+ "required": false,
73
+ "origin": "derived",
74
+ "description": "Default auto-close delay in milliseconds. Default 5000.",
75
+ "descriptionOrigin": "jsdoc"
76
+ },
77
+ {
78
+ "name": "hotkey",
79
+ "type": "other",
80
+ "typeText": "readonly string[] | undefined",
81
+ "required": false,
82
+ "default": "DEFAULT_HOTKEY",
83
+ "origin": "derived",
84
+ "description": "Keys that move focus to the notifications: `KeyboardEvent` modifier names\nplus a `code`. Default `[\"altKey\", \"KeyT\"]`.",
85
+ "descriptionOrigin": "jsdoc"
86
+ },
87
+ {
88
+ "name": "icons",
89
+ "type": "other",
90
+ "typeText": "Partial<Record<ToastType, ReactNode>> | undefined",
91
+ "required": false,
92
+ "origin": "derived",
93
+ "description": "Replace the icon per type; `null` hides it.",
94
+ "descriptionOrigin": "jsdoc"
95
+ },
96
+ {
97
+ "name": "limit",
98
+ "type": "number",
99
+ "typeText": "number | undefined",
100
+ "required": false,
101
+ "origin": "derived",
102
+ "description": "Open toasts on screen at once; the rest wait their turn. Default 3.",
103
+ "descriptionOrigin": "jsdoc"
104
+ },
105
+ {
106
+ "name": "localeText",
107
+ "type": "other",
108
+ "typeText": "Partial<ToasterLocaleText> | undefined",
109
+ "required": false,
110
+ "origin": "derived"
111
+ },
112
+ {
113
+ "name": "position",
114
+ "type": "enum",
115
+ "values": [
116
+ "bottom-center",
117
+ "bottom-left",
118
+ "bottom-right",
119
+ "top-center",
120
+ "top-left",
121
+ "top-right"
122
+ ],
123
+ "typeText": "ToastPosition | undefined",
124
+ "required": false,
125
+ "default": "top-right",
126
+ "origin": "derived",
127
+ "description": "Default `\"top-right\"`.",
128
+ "descriptionOrigin": "jsdoc"
129
+ },
130
+ {
131
+ "name": "store",
132
+ "type": "other",
133
+ "typeText": "ToastStore | undefined",
134
+ "required": false,
135
+ "default": "toastStore",
136
+ "origin": "derived",
137
+ "description": "A store from `createToastStore()`. Defaults to the one behind `toast()`.",
138
+ "descriptionOrigin": "jsdoc"
139
+ },
140
+ {
141
+ "name": "style",
142
+ "type": "other",
143
+ "typeText": "CSSProperties | undefined",
144
+ "required": false,
145
+ "origin": "derived"
146
+ }
147
+ ],
148
+ "events": [],
149
+ "slots": [
150
+ "region",
151
+ "list",
152
+ "toast",
153
+ "icon",
154
+ "content",
155
+ "title",
156
+ "description",
157
+ "actions",
158
+ "action",
159
+ "cancel",
160
+ "close"
161
+ ],
162
+ "states": [
163
+ {
164
+ "attr": "data-custom"
165
+ },
166
+ {
167
+ "attr": "data-position"
168
+ },
169
+ {
170
+ "attr": "data-state",
171
+ "values": [
172
+ "closing"
173
+ ]
174
+ },
175
+ {
176
+ "attr": "data-swiping"
177
+ },
178
+ {
179
+ "attr": "data-theme",
180
+ "values": [
181
+ "dark",
182
+ "light"
183
+ ]
184
+ },
185
+ {
186
+ "attr": "data-type",
187
+ "values": [
188
+ "default",
189
+ "error",
190
+ "info",
191
+ "loading",
192
+ "success",
193
+ "warning"
194
+ ]
195
+ },
196
+ {
197
+ "attr": "data-variant",
198
+ "values": [
199
+ "action",
200
+ "cancel"
201
+ ]
202
+ }
203
+ ],
204
+ "accessibility": {
205
+ "supplied": [],
206
+ "required": []
207
+ },
208
+ "composition": {},
209
+ "operations": {},
210
+ "intentDomains": [],
211
+ "safeMutations": {},
212
+ "examples": [],
213
+ "coverage": {
214
+ "propsTotal": 12,
215
+ "propsDescribed": 7,
216
+ "describedPct": 58,
217
+ "authoredSections": [
218
+ "accessibility"
219
+ ]
220
+ }
221
+ }