@pantoken/components 0.6.0 → 0.7.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/README.md +7 -3
- package/dist/avatar.css +1 -1
- package/dist/badge.css +1 -1
- package/dist/breadcrumb.css +1 -1
- package/dist/breadcrumb.link.css +1 -0
- package/dist/byline.css +1 -1
- package/dist/calendar.css +1 -1
- package/dist/calendar.day.css +1 -0
- package/dist/checkbox.css +1 -1
- package/dist/component-icons.css +1 -1
- package/dist/components.css +1 -1
- package/dist/context-view.css +1 -1
- package/dist/drawer-layout.content.css +1 -0
- package/dist/drawer-layout.css +1 -0
- package/dist/drawer-layout.tray.css +1 -0
- package/dist/index.d.mts +193 -75
- package/dist/index.mjs +1202 -381
- package/dist/list.css +1 -1
- package/dist/list.item.css +1 -0
- package/dist/mask.css +1 -0
- package/dist/menu.css +1 -1
- package/dist/menu.group.css +1 -0
- package/dist/menu.item.css +1 -0
- package/dist/menu.separator.css +1 -0
- package/dist/metric.css +1 -1
- package/dist/modal.body.css +1 -0
- package/dist/modal.css +1 -1
- package/dist/modal.footer.css +1 -0
- package/dist/modal.header.css +1 -0
- package/dist/pagination.css +1 -1
- package/dist/pagination.page.css +1 -0
- package/dist/progress-circle.css +1 -1
- package/dist/prose.css +1 -1
- package/dist/side-nav-bar.css +1 -1
- package/dist/side-nav-bar.item.css +1 -0
- package/dist/spinner.css +1 -1
- package/dist/table.body.css +1 -0
- package/dist/table.cell.css +1 -0
- package/dist/table.col-header.css +1 -0
- package/dist/table.css +1 -1
- package/dist/table.head.css +1 -0
- package/dist/table.row-header.css +1 -0
- package/dist/table.row.css +1 -0
- package/dist/tabs.css +1 -1
- package/dist/tabs.panel.css +1 -0
- package/dist/tabs.tab.css +1 -0
- package/dist/text.css +1 -1
- package/dist/tooltip.css +1 -1
- package/dist/tray.css +1 -1
- package/dist/utilities/cursor.css +1 -0
- package/dist/utilities/gap.css +1 -0
- package/dist/utilities/icon.css +1 -0
- package/dist/utilities/layout.css +1 -0
- package/dist/utilities/mask.css +1 -0
- package/dist/utilities/overflow.css +1 -0
- package/dist/utilities/position.css +1 -0
- package/dist/utilities/responsive.css +1 -0
- package/dist/utilities/screen-reader-content.css +1 -0
- package/dist/utilities/spacing.css +1 -0
- package/dist/utilities/stacking.css +1 -0
- package/dist/utilities/transition.css +1 -0
- package/dist/utilities.css +1 -1
- package/dist/view.css +1 -0
- package/package.json +19 -8
- package/dist/truncate.css +0 -1
package/dist/context-view.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.instui-context-view{padding:var(--instui-spacing-space-md);background:var(--instui-color-background-elevated-surface-base);color:var(--instui-color-text-base);border:var(--instui-component-context-view-arrow-border-width) solid var(--instui-component-context-view-arrow-border-color);border-radius:var(--instui-component-context-view-border-radius);box-shadow:var(--instui-elevation-above);display:inline-block;position:relative}.instui-context-view:before,.instui-context-view:after{content:"";border-style:solid;border-color:#0000;position:absolute}.instui-context-view:before{border-
|
|
1
|
+
.instui-context-view{padding:var(--instui-spacing-space-md);background:var(--instui-color-background-elevated-surface-base);color:var(--instui-color-text-base);border:var(--instui-component-context-view-arrow-border-width) solid var(--instui-component-context-view-arrow-border-color);border-radius:var(--instui-component-context-view-border-radius);box-shadow:var(--instui-elevation-above);display:inline-block;position:relative}.instui-context-view:before,.instui-context-view:after{content:"";border-style:solid;border-color:#0000;position:absolute}.instui-context-view:before{border-top-color:var(--instui-component-context-view-arrow-border-color);border-width:calc(var(--instui-component-context-view-arrow-size) + var(--instui-component-context-view-arrow-border-width));top:100%;inset-inline-start:calc(var(--instui-spacing-space-lg) - var(--instui-component-context-view-arrow-border-width))}.instui-context-view:after{border-width:var(--instui-component-context-view-arrow-size);border-top-color:var(--instui-component-context-view-arrow-background-color);top:100%;inset-inline-start:var(--instui-spacing-space-lg)}.instui-context-view.-placement-bottom:before{border-top-color:#0000;border-bottom-color:var(--instui-component-context-view-arrow-border-color);top:auto;bottom:100%}.instui-context-view.-placement-bottom:after{border-top-color:#0000;border-bottom-color:var(--instui-component-context-view-arrow-background-color);top:auto;bottom:100%}.instui-context-view.-placement-start:before,.instui-context-view.-placement-start:after{top:50%;border-top-color:#0000;inset-inline-start:100%;transform:translateY(-50%)}.instui-context-view.-placement-start:before{border-inline-start-color:var(--instui-component-context-view-arrow-border-color)}.instui-context-view.-placement-start:after{border-inline-start-color:var(--instui-component-context-view-arrow-background-color)}.instui-context-view.-placement-end:before,.instui-context-view.-placement-end:after{top:50%;border-top-color:#0000;inset-inline:auto 100%;transform:translateY(-50%)}.instui-context-view.-placement-end:before{border-inline-end-color:var(--instui-component-context-view-arrow-border-color)}.instui-context-view.-placement-end:after{border-inline-end-color:var(--instui-component-context-view-arrow-background-color)}.instui-context-view.-color-inverse{background:var(--instui-color-background-inverse);color:var(--instui-color-text-inverse);border-color:var(--instui-component-context-view-arrow-border-color-inverse)}.instui-context-view.-color-inverse:before{border-top-color:var(--instui-component-context-view-arrow-border-color-inverse)}.instui-context-view.-color-inverse:after{border-top-color:var(--instui-component-context-view-arrow-background-color-inverse)}.instui-context-view.-color-inverse.-placement-bottom:before{border-top-color:#0000;border-bottom-color:var(--instui-component-context-view-arrow-border-color-inverse)}.instui-context-view.-color-inverse.-placement-bottom:after{border-top-color:#0000;border-bottom-color:var(--instui-component-context-view-arrow-background-color-inverse)}.instui-context-view.-color-inverse.-placement-start:before{border-top-color:#0000;border-inline-start-color:var(--instui-component-context-view-arrow-border-color-inverse)}.instui-context-view.-color-inverse.-placement-start:after{border-top-color:#0000;border-inline-start-color:var(--instui-component-context-view-arrow-background-color-inverse)}.instui-context-view.-color-inverse.-placement-end:before{border-top-color:#0000;border-inline-end-color:var(--instui-component-context-view-arrow-border-color-inverse)}.instui-context-view.-color-inverse.-placement-end:after{border-top-color:#0000;border-inline-end-color:var(--instui-component-context-view-arrow-background-color-inverse)}[popover].instui-context-view{margin:0;position:fixed;overflow:visible}[popover].instui-context-view:not(:popover-open){display:none}@supports (position-area:block-end){[popover].instui-context-view{position-anchor:--pantoken-anchor;position-try-fallbacks:flip-block, flip-inline}[popover].instui-context-view.-placement-top{position-area:block-start}[popover].instui-context-view.-placement-bottom{position-area:block-end}[popover].instui-context-view.-placement-start{position-area:inline-start center}[popover].instui-context-view.-placement-end{position-area:inline-end center}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@scope(.instui-drawer-layout){:scope{&>.content{min-inline-size:var(--drawer-layout-content-min-inline-size,var(--pantoken-bp-md,30em));flex:auto;overflow:auto}&[should-overlay-tray]>.content,&.-should-overlay-tray>.content{min-inline-size:0}}}@container pantoken-drawer-layout (width<=46em){.instui-drawer-layout>.content{min-inline-size:0}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@scope(.instui-drawer-layout){:scope{block-size:100%;display:flex;position:relative;container:pantoken-drawer-layout/inline-size;&[placement=start],&.-placement-start{flex-direction:row}&[placement=end],&.-placement-end{flex-direction:row-reverse}&:not([open]):not(.-open)>.tray{display:none}&[should-overlay-tray],&.-should-overlay-tray{min-inline-size:0}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@scope(.instui-drawer-layout){:scope{&>.tray{flex:0 0 var(--instui-component-tray-width-xs,16em);inline-size:var(--drawer-layout-tray-width,var(--instui-component-tray-width-xs,16em));background:var(--instui-color-background-elevated-surface-base);border-inline-end:var(--instui-border-width-sm) solid var(--instui-color-stroke-base);max-inline-size:100%;overflow:auto}&>.tray.-without-border{border-inline:0}&[should-overlay-tray]>.tray,&.-should-overlay-tray>.tray{z-index:var(--instui-component-tray-z-index,9999);box-shadow:var(--instui-elevation-topmost);position:absolute;inset-block:0;inset-inline-start:0}&[should-overlay-tray]>.tray.-placement-end,&.-should-overlay-tray>.tray.-placement-end,&[should-overlay-tray][placement=end]>.tray,&.-should-overlay-tray[placement=end]>.tray,&[should-overlay-tray].-placement-end>.tray,&.-should-overlay-tray.-placement-end>.tray{inset-inline:auto 0}&[should-overlay-tray]>.tray.-without-shadow,&.-should-overlay-tray>.tray.-without-shadow{box-shadow:none}}}@container pantoken-drawer-layout (width<=46em){.instui-drawer-layout>.tray{z-index:var(--instui-component-tray-z-index,1);box-shadow:var(--instui-elevation-topmost);position:absolute;inset-block:0;inset-inline-start:0}.instui-drawer-layout>.tray.-placement-end,.instui-drawer-layout[placement=end]>.tray,.instui-drawer-layout.-placement-end>.tray{inset-inline:auto 0}.instui-drawer-layout>.tray.-without-shadow{box-shadow:none}}
|
package/dist/index.d.mts
CHANGED
|
@@ -35,14 +35,16 @@ interface Definition {
|
|
|
35
35
|
css(this: void, options?: ComponentOptions): string;
|
|
36
36
|
}
|
|
37
37
|
//#endregion
|
|
38
|
-
//#region src/rules/prose.d.ts
|
|
38
|
+
//#region src/rules/prose/index.d.ts
|
|
39
39
|
/** Options for {@link proseCss}. */
|
|
40
40
|
interface ProseOptions {
|
|
41
|
-
/** The content-root selector the rules attach to (default `"
|
|
41
|
+
/** The content-root selector the rules attach to (default `":where(body)"`, applied automatically
|
|
42
|
+
* like `base.css` — pass a class like `".vp-doc"` to scope to a different content root instead). */
|
|
42
43
|
scope?: string;
|
|
43
44
|
}
|
|
44
45
|
/**
|
|
45
|
-
* Build the InstUI-look prose stylesheet, scoped to `options.scope` (default
|
|
46
|
+
* Build the InstUI-look prose stylesheet, scoped to `options.scope` (default `:where(body)`, so it
|
|
47
|
+
* applies automatically without a wrapper class — like `base.css`).
|
|
46
48
|
*
|
|
47
49
|
* @param options - {@link ProseOptions}.
|
|
48
50
|
* @returns The CSS string.
|
|
@@ -51,7 +53,7 @@ interface ProseOptions {
|
|
|
51
53
|
*/
|
|
52
54
|
declare function proseCss(options?: ProseOptions): string;
|
|
53
55
|
//#endregion
|
|
54
|
-
//#region src/declarations/elevation.d.ts
|
|
56
|
+
//#region src/declarations/elevation/index.d.ts
|
|
55
57
|
/**
|
|
56
58
|
* Build the elevation token block: `<selector> { --instui-elevation-*: … }`. Shipped inside
|
|
57
59
|
* `components.css` (so shadows are intrinsic — no plugin, no extra import), and reusable by other
|
|
@@ -73,7 +75,7 @@ declare function elevationCss(options?: {
|
|
|
73
75
|
selector?: string;
|
|
74
76
|
}): string;
|
|
75
77
|
//#endregion
|
|
76
|
-
//#region src/declarations/focus.d.ts
|
|
78
|
+
//#region src/declarations/focus/index.d.ts
|
|
77
79
|
/**
|
|
78
80
|
* Build the focus-outline block: the `--instui-focus-outline-*` token defs plus the ring rules.
|
|
79
81
|
* Baked into `base.css` (so focusables get the ring out of the box), and reusable by other layered
|
|
@@ -90,203 +92,295 @@ declare function focusOutlineCss(options?: {
|
|
|
90
92
|
tokenSelector?: string;
|
|
91
93
|
}): string;
|
|
92
94
|
//#endregion
|
|
93
|
-
//#region src/components/button.d.ts
|
|
95
|
+
//#region src/components/button/index.d.ts
|
|
94
96
|
/** Standalone `button` stylesheet — the prefixed CSS for the action button, ready to ship as a `.css` file. */
|
|
95
97
|
declare const buttonCss: Definition["css"];
|
|
96
98
|
//#endregion
|
|
97
|
-
//#region src/components/alert.d.ts
|
|
99
|
+
//#region src/components/alert/index.d.ts
|
|
98
100
|
/** Standalone `alert` stylesheet — the prefixed CSS for the status message, ready to ship as a `.css` file. */
|
|
99
101
|
declare const alertCss: Definition["css"];
|
|
100
102
|
//#endregion
|
|
101
|
-
//#region src/components/badge.d.ts
|
|
103
|
+
//#region src/components/badge/index.d.ts
|
|
102
104
|
/** Standalone `badge` stylesheet — the prefixed CSS for the count-and-status badge, ready to ship as a `.css` file. */
|
|
103
105
|
declare const badgeCss: Definition["css"];
|
|
104
106
|
//#endregion
|
|
105
|
-
//#region src/components/pill.d.ts
|
|
107
|
+
//#region src/components/pill/index.d.ts
|
|
106
108
|
/** Standalone `pill` stylesheet — the prefixed CSS for the status pill, ready to ship as a `.css` file. */
|
|
107
109
|
declare const pillCss: Definition["css"];
|
|
108
110
|
//#endregion
|
|
109
|
-
//#region src/components/tag.d.ts
|
|
111
|
+
//#region src/components/tag/index.d.ts
|
|
110
112
|
/** Standalone `tag` stylesheet — the prefixed CSS for the chip, ready to ship as a `.css` file. */
|
|
111
113
|
declare const tagCss: Definition["css"];
|
|
112
114
|
//#endregion
|
|
113
|
-
//#region src/components/avatar.d.ts
|
|
115
|
+
//#region src/components/avatar/index.d.ts
|
|
114
116
|
/** Standalone `avatar` stylesheet — the prefixed CSS for the avatar, ready to ship as a `.css` file. */
|
|
115
117
|
declare const avatarCss: Definition["css"];
|
|
116
118
|
//#endregion
|
|
117
|
-
//#region src/components/tabs.d.ts
|
|
119
|
+
//#region src/components/tabs/index.d.ts
|
|
118
120
|
/** Standalone `tabs` stylesheet — the prefixed CSS for the tabbed panels, ready to ship as a `.css` file. */
|
|
119
121
|
declare const tabsCss: Definition["css"];
|
|
120
122
|
//#endregion
|
|
121
|
-
//#region src/components/
|
|
123
|
+
//#region src/components/tabs/members/tab/index.d.ts
|
|
124
|
+
/** Standalone `tabs.tab` stylesheet. */
|
|
125
|
+
declare const tabsTabCss: Definition["css"];
|
|
126
|
+
//#endregion
|
|
127
|
+
//#region src/components/tabs/members/panel/index.d.ts
|
|
128
|
+
/** Standalone `tabs.panel` stylesheet. */
|
|
129
|
+
declare const tabsPanelCss: Definition["css"];
|
|
130
|
+
//#endregion
|
|
131
|
+
//#region src/components/metric/index.d.ts
|
|
122
132
|
/** Standalone `metric` stylesheet — the prefixed CSS for the statistic, ready to ship as a `.css` file. */
|
|
123
133
|
declare const metricCss: Definition["css"];
|
|
124
134
|
//#endregion
|
|
125
|
-
//#region src/components/img.d.ts
|
|
135
|
+
//#region src/components/img/index.d.ts
|
|
126
136
|
/** Standalone `img` stylesheet — the prefixed CSS for the styled image, ready to ship as a `.css` file. */
|
|
127
137
|
declare const imgCss: Definition["css"];
|
|
128
138
|
//#endregion
|
|
129
|
-
//#region src/components/byline.d.ts
|
|
139
|
+
//#region src/components/byline/index.d.ts
|
|
130
140
|
/** Standalone `byline` stylesheet — the prefixed CSS for the media object, ready to ship as a `.css` file. */
|
|
131
141
|
declare const bylineCss: Definition["css"];
|
|
132
142
|
//#endregion
|
|
133
|
-
//#region src/components/table.d.ts
|
|
143
|
+
//#region src/components/table/index.d.ts
|
|
134
144
|
/** Standalone `table` stylesheet — the prefixed CSS for the data table, ready to ship as a `.css` file. */
|
|
135
145
|
declare const tableCss: Definition["css"];
|
|
136
146
|
//#endregion
|
|
137
|
-
//#region src/components/
|
|
147
|
+
//#region src/components/table/members/head/index.d.ts
|
|
148
|
+
/** Standalone `table.head` stylesheet. */
|
|
149
|
+
declare const tableHeadCss: Definition["css"];
|
|
150
|
+
//#endregion
|
|
151
|
+
//#region src/components/table/members/body/index.d.ts
|
|
152
|
+
/** Standalone `table.body` stylesheet. */
|
|
153
|
+
declare const tableBodyCss: Definition["css"];
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region src/components/table/members/row/index.d.ts
|
|
156
|
+
/** Standalone `table.row` stylesheet. */
|
|
157
|
+
declare const tableRowCss: Definition["css"];
|
|
158
|
+
//#endregion
|
|
159
|
+
//#region src/components/table/members/cell/index.d.ts
|
|
160
|
+
/** Standalone `table.cell` stylesheet. */
|
|
161
|
+
declare const tableCellCss: Definition["css"];
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region src/components/table/members/col-header/index.d.ts
|
|
164
|
+
/** Standalone `table.col-header` stylesheet. */
|
|
165
|
+
declare const tableColHeaderCss: Definition["css"];
|
|
166
|
+
//#endregion
|
|
167
|
+
//#region src/components/table/members/row-header/index.d.ts
|
|
168
|
+
/** Standalone `table.row-header` stylesheet. */
|
|
169
|
+
declare const tableRowHeaderCss: Definition["css"];
|
|
170
|
+
//#endregion
|
|
171
|
+
//#region src/components/link/index.d.ts
|
|
138
172
|
/** Standalone `link` stylesheet — the prefixed CSS for the hyperlink, ready to ship as a `.css` file. */
|
|
139
173
|
declare const linkCss: Definition["css"];
|
|
140
174
|
//#endregion
|
|
141
|
-
//#region src/components/list.d.ts
|
|
175
|
+
//#region src/components/list/index.d.ts
|
|
142
176
|
/** Standalone `list` stylesheet — the prefixed CSS for the spaced list, ready to ship as a `.css` file. */
|
|
143
177
|
declare const listCss: Definition["css"];
|
|
144
178
|
//#endregion
|
|
145
|
-
//#region src/components/
|
|
179
|
+
//#region src/components/list/members/item/index.d.ts
|
|
180
|
+
/** Standalone `list.item` stylesheet. */
|
|
181
|
+
declare const listItemCss: Definition["css"];
|
|
182
|
+
//#endregion
|
|
183
|
+
//#region src/components/mask/index.d.ts
|
|
184
|
+
/** The mask component as a standalone, header-wrapped stylesheet. */
|
|
185
|
+
declare const maskCss: Definition["css"];
|
|
186
|
+
//#endregion
|
|
187
|
+
//#region src/components/checkbox/index.d.ts
|
|
146
188
|
/** Standalone `checkbox` stylesheet — the prefixed CSS for the checkbox and switch, ready to ship as a `.css` file. */
|
|
147
189
|
declare const checkboxCss: Definition["css"];
|
|
148
190
|
//#endregion
|
|
149
|
-
//#region src/components/radio.d.ts
|
|
191
|
+
//#region src/components/radio/index.d.ts
|
|
150
192
|
/** Standalone `radio` stylesheet — the prefixed CSS for the radio button, ready to ship as a `.css` file. */
|
|
151
193
|
declare const radioCss: Definition["css"];
|
|
152
194
|
//#endregion
|
|
153
|
-
//#region src/components/spinner.d.ts
|
|
195
|
+
//#region src/components/spinner/index.d.ts
|
|
154
196
|
/** Standalone `spinner` stylesheet — the prefixed CSS for the loading ring, ready to ship as a `.css` file. */
|
|
155
197
|
declare const spinnerCss: Definition["css"];
|
|
156
198
|
//#endregion
|
|
157
|
-
//#region src/components/progress.d.ts
|
|
199
|
+
//#region src/components/progress/index.d.ts
|
|
158
200
|
/** Standalone `progress` stylesheet — the prefixed CSS for the progress bar, ready to ship as a `.css` file. */
|
|
159
201
|
declare const progressCss: Definition["css"];
|
|
160
202
|
//#endregion
|
|
161
|
-
//#region src/components/menu.d.ts
|
|
203
|
+
//#region src/components/menu/index.d.ts
|
|
162
204
|
/** Standalone `menu` stylesheet — the prefixed CSS for the dropdown menu, ready to ship as a `.css` file. */
|
|
163
205
|
declare const menuCss: Definition["css"];
|
|
164
206
|
//#endregion
|
|
165
|
-
//#region src/components/
|
|
207
|
+
//#region src/components/menu/members/item/index.d.ts
|
|
208
|
+
/** Standalone `menu.item` stylesheet — the prefixed CSS for a menu entry, ready to ship as a `.css` file. */
|
|
209
|
+
declare const menuItemCss: Definition["css"];
|
|
210
|
+
//#endregion
|
|
211
|
+
//#region src/components/menu/members/group/index.d.ts
|
|
212
|
+
/** Standalone `menu.group` stylesheet. */
|
|
213
|
+
declare const menuGroupCss: Definition["css"];
|
|
214
|
+
//#endregion
|
|
215
|
+
//#region src/components/menu/members/separator/index.d.ts
|
|
216
|
+
/** Standalone `menu.separator` stylesheet. */
|
|
217
|
+
declare const menuSeparatorCss: Definition["css"];
|
|
218
|
+
//#endregion
|
|
219
|
+
//#region src/components/modal/index.d.ts
|
|
166
220
|
/** Standalone `modal` stylesheet — the prefixed CSS for the dialog surface, ready to ship as a `.css` file. */
|
|
167
221
|
declare const modalCss: Definition["css"];
|
|
168
222
|
//#endregion
|
|
169
|
-
//#region src/components/
|
|
223
|
+
//#region src/components/modal/members/header/index.d.ts
|
|
224
|
+
/** Standalone `modal.header` stylesheet. */
|
|
225
|
+
declare const modalHeaderCss: Definition["css"];
|
|
226
|
+
//#endregion
|
|
227
|
+
//#region src/components/modal/members/body/index.d.ts
|
|
228
|
+
/** Standalone `modal.body` stylesheet. */
|
|
229
|
+
declare const modalBodyCss: Definition["css"];
|
|
230
|
+
//#endregion
|
|
231
|
+
//#region src/components/modal/members/footer/index.d.ts
|
|
232
|
+
/** Standalone `modal.footer` stylesheet. */
|
|
233
|
+
declare const modalFooterCss: Definition["css"];
|
|
234
|
+
//#endregion
|
|
235
|
+
//#region src/components/breadcrumb/index.d.ts
|
|
170
236
|
/** Standalone `breadcrumb` stylesheet — the prefixed CSS for the breadcrumb trail, ready to ship as a `.css` file. */
|
|
171
237
|
declare const breadcrumbCss: Definition["css"];
|
|
172
238
|
//#endregion
|
|
173
|
-
//#region src/components/
|
|
239
|
+
//#region src/components/breadcrumb/members/link/index.d.ts
|
|
240
|
+
/** Standalone `breadcrumb.link` stylesheet. */
|
|
241
|
+
declare const breadcrumbLinkCss: Definition["css"];
|
|
242
|
+
//#endregion
|
|
243
|
+
//#region src/components/billboard/index.d.ts
|
|
174
244
|
/** Standalone `billboard` stylesheet — the prefixed CSS for the empty-state block, ready to ship as a `.css` file. */
|
|
175
245
|
declare const billboardCss: Definition["css"];
|
|
176
246
|
//#endregion
|
|
177
|
-
//#region src/components/rating.d.ts
|
|
247
|
+
//#region src/components/rating/index.d.ts
|
|
178
248
|
/** Standalone `rating` stylesheet — the prefixed CSS for the star rating, ready to ship as a `.css` file. */
|
|
179
249
|
declare const ratingCss: Definition["css"];
|
|
180
250
|
//#endregion
|
|
181
|
-
//#region src/components/toggle-group.d.ts
|
|
251
|
+
//#region src/components/toggle-group/index.d.ts
|
|
182
252
|
/** Standalone `toggleGroup` stylesheet — the prefixed CSS for the bordered disclosure, ready to ship as a `.css` file. */
|
|
183
253
|
declare const toggleGroupCss: Definition["css"];
|
|
184
254
|
//#endregion
|
|
185
|
-
//#region src/components/context-view.d.ts
|
|
255
|
+
//#region src/components/context-view/index.d.ts
|
|
186
256
|
/** Standalone `contextView` stylesheet — the prefixed CSS for the caret callout, ready to ship as a `.css` file. */
|
|
187
257
|
declare const contextViewCss: Definition["css"];
|
|
188
258
|
//#endregion
|
|
189
|
-
//#region src/components/
|
|
259
|
+
//#region src/components/drawer-layout/index.d.ts
|
|
260
|
+
/** Standalone `drawer-layout` stylesheet — the prefixed CSS for a resizable side tray layout. */
|
|
261
|
+
declare const drawerLayoutCss: Definition["css"];
|
|
262
|
+
//#endregion
|
|
263
|
+
//#region src/components/drawer-layout/members/tray/index.d.ts
|
|
264
|
+
/** Standalone `drawer-layout.tray` stylesheet. */
|
|
265
|
+
declare const drawerLayoutTrayCss: Definition["css"];
|
|
266
|
+
//#endregion
|
|
267
|
+
//#region src/components/drawer-layout/members/content/index.d.ts
|
|
268
|
+
/** Standalone `drawer-layout.content` stylesheet. */
|
|
269
|
+
declare const drawerLayoutContentCss: Definition["css"];
|
|
270
|
+
//#endregion
|
|
271
|
+
//#region src/components/progress-circle/index.d.ts
|
|
190
272
|
/** Standalone `progressCircle` stylesheet — the prefixed CSS for the progress ring, ready to ship as a `.css` file. */
|
|
191
273
|
declare const progressCircleCss: Definition["css"];
|
|
192
274
|
//#endregion
|
|
193
|
-
//#region src/components/pagination.d.ts
|
|
275
|
+
//#region src/components/pagination/index.d.ts
|
|
194
276
|
/** Standalone `pagination` stylesheet — the prefixed CSS for the page navigation, ready to ship as a `.css` file. */
|
|
195
277
|
declare const paginationCss: Definition["css"];
|
|
196
278
|
//#endregion
|
|
197
|
-
//#region src/components/
|
|
198
|
-
/** Standalone `
|
|
199
|
-
declare const
|
|
279
|
+
//#region src/components/pagination/members/page/index.d.ts
|
|
280
|
+
/** Standalone `pagination.page` stylesheet. */
|
|
281
|
+
declare const paginationPageCss: Definition["css"];
|
|
200
282
|
//#endregion
|
|
201
|
-
//#region src/components/toggle-details.d.ts
|
|
283
|
+
//#region src/components/toggle-details/index.d.ts
|
|
202
284
|
/** Standalone `toggleDetails` stylesheet — the prefixed CSS for the details disclosure, ready to ship as a `.css` file. */
|
|
203
285
|
declare const toggleDetailsCss: Definition["css"];
|
|
204
286
|
//#endregion
|
|
205
|
-
//#region src/components/file-drop.d.ts
|
|
287
|
+
//#region src/components/file-drop/index.d.ts
|
|
206
288
|
/** Standalone `fileDrop` stylesheet — the prefixed CSS for the file dropzone, ready to ship as a `.css` file. */
|
|
207
289
|
declare const fileDropCss: Definition["css"];
|
|
208
290
|
//#endregion
|
|
209
|
-
//#region src/components/side-nav-bar.d.ts
|
|
291
|
+
//#region src/components/side-nav-bar/index.d.ts
|
|
210
292
|
/** Standalone `sideNavBar` stylesheet — the prefixed CSS for the navigation rail, ready to ship as a `.css` file. */
|
|
211
293
|
declare const sideNavBarCss: Definition["css"];
|
|
212
294
|
//#endregion
|
|
213
|
-
//#region src/components/
|
|
295
|
+
//#region src/components/side-nav-bar/members/item/index.d.ts
|
|
296
|
+
/** Standalone `side-nav-bar.item` stylesheet. */
|
|
297
|
+
declare const sideNavBarItemCss: Definition["css"];
|
|
298
|
+
//#endregion
|
|
299
|
+
//#region src/components/tree-browser/index.d.ts
|
|
214
300
|
/** Standalone `treeBrowser` stylesheet — the prefixed CSS for the disclosure tree, ready to ship as a `.css` file. */
|
|
215
301
|
declare const treeBrowserCss: Definition["css"];
|
|
216
302
|
//#endregion
|
|
217
|
-
//#region src/components/calendar.d.ts
|
|
303
|
+
//#region src/components/calendar/index.d.ts
|
|
218
304
|
/** Standalone `calendar` stylesheet — the prefixed CSS for the month grid, ready to ship as a `.css` file. */
|
|
219
305
|
declare const calendarCss: Definition["css"];
|
|
220
306
|
//#endregion
|
|
221
|
-
//#region src/components/
|
|
307
|
+
//#region src/components/calendar/members/day/index.d.ts
|
|
308
|
+
/** Standalone `calendar.day` stylesheet. */
|
|
309
|
+
declare const calendarDayCss: Definition["css"];
|
|
310
|
+
//#endregion
|
|
311
|
+
//#region src/components/popover/index.d.ts
|
|
222
312
|
/** Standalone `popover` stylesheet — the prefixed CSS for the popover surface, ready to ship as a `.css` file. */
|
|
223
313
|
declare const popoverCss: Definition["css"];
|
|
224
314
|
//#endregion
|
|
225
|
-
//#region src/components/tray.d.ts
|
|
315
|
+
//#region src/components/tray/index.d.ts
|
|
226
316
|
/** Standalone `tray` stylesheet — the prefixed CSS for the sliding tray, ready to ship as a `.css` file. */
|
|
227
317
|
declare const trayCss: Definition["css"];
|
|
228
318
|
//#endregion
|
|
229
|
-
//#region src/components/tooltip.d.ts
|
|
319
|
+
//#region src/components/tooltip/index.d.ts
|
|
230
320
|
/** Standalone `tooltip` stylesheet — the prefixed CSS for the tooltip bubble, ready to ship as a `.css` file. */
|
|
231
321
|
declare const tooltipCss: Definition["css"];
|
|
232
322
|
//#endregion
|
|
233
|
-
//#region src/components/range-input.d.ts
|
|
323
|
+
//#region src/components/range-input/index.d.ts
|
|
234
324
|
/** Standalone `rangeInput` stylesheet — the prefixed CSS for the range slider, ready to ship as a `.css` file. */
|
|
235
325
|
declare const rangeInputCss: Definition["css"];
|
|
236
326
|
//#endregion
|
|
237
|
-
//#region src/components/heading.d.ts
|
|
327
|
+
//#region src/components/heading/index.d.ts
|
|
238
328
|
/** Standalone `heading` stylesheet — the prefixed CSS for the heading type, ready to ship as a `.css` file. */
|
|
239
329
|
declare const headingCss: Definition["css"];
|
|
240
330
|
//#endregion
|
|
241
|
-
//#region src/components/text.d.ts
|
|
331
|
+
//#region src/components/text/index.d.ts
|
|
242
332
|
/** Standalone `text` stylesheet — the prefixed CSS for the body typography, ready to ship as a `.css` file. */
|
|
243
333
|
declare const textCss: Definition["css"];
|
|
244
334
|
//#endregion
|
|
245
|
-
//#region src/components/close-button.d.ts
|
|
335
|
+
//#region src/components/close-button/index.d.ts
|
|
246
336
|
/** Standalone `closeButton` stylesheet — the prefixed CSS for the close button, ready to ship as a `.css` file. */
|
|
247
337
|
declare const closeButtonCss: Definition["css"];
|
|
248
338
|
//#endregion
|
|
249
|
-
//#region src/components/text-input.d.ts
|
|
339
|
+
//#region src/components/text-input/index.d.ts
|
|
250
340
|
/** Standalone `textInput` stylesheet — the prefixed CSS for the text input, ready to ship as a `.css` file. */
|
|
251
341
|
declare const textInputCss: Definition["css"];
|
|
252
342
|
//#endregion
|
|
253
|
-
//#region src/components/text-area.d.ts
|
|
343
|
+
//#region src/components/text-area/index.d.ts
|
|
254
344
|
/** Standalone `textArea` stylesheet — the prefixed CSS for the textarea, ready to ship as a `.css` file. */
|
|
255
345
|
declare const textAreaCss: Definition["css"];
|
|
256
346
|
//#endregion
|
|
257
|
-
//#region src/components/simple-select.d.ts
|
|
347
|
+
//#region src/components/simple-select/index.d.ts
|
|
258
348
|
/** Standalone `simpleSelect` stylesheet — the prefixed CSS for the native select, ready to ship as a `.css` file. */
|
|
259
349
|
declare const simpleSelectCss: Definition["css"];
|
|
260
350
|
//#endregion
|
|
261
|
-
//#region src/components/input-group.d.ts
|
|
351
|
+
//#region src/components/input-group/index.d.ts
|
|
262
352
|
/** Standalone `inputGroup` stylesheet — the prefixed CSS for the input group, ready to ship as a `.css` file. */
|
|
263
353
|
declare const inputGroupCss: Definition["css"];
|
|
264
354
|
//#endregion
|
|
265
|
-
//#region src/components/number-input.d.ts
|
|
355
|
+
//#region src/components/number-input/index.d.ts
|
|
266
356
|
/** Standalone `numberInput` stylesheet — the prefixed CSS for the number input, ready to ship as a `.css` file. */
|
|
267
357
|
declare const numberInputCss: Definition["css"];
|
|
268
358
|
//#endregion
|
|
269
|
-
//#region src/components/in-place-edit.d.ts
|
|
359
|
+
//#region src/components/in-place-edit/index.d.ts
|
|
270
360
|
/** Standalone `inPlaceEdit` stylesheet — the prefixed CSS for the in-place editor, ready to ship as a `.css` file. */
|
|
271
361
|
declare const inPlaceEditCss: Definition["css"];
|
|
272
362
|
//#endregion
|
|
273
|
-
//#region src/components/form-field-messages.d.ts
|
|
363
|
+
//#region src/components/form-field-messages/index.d.ts
|
|
274
364
|
/** Standalone `formFieldMessages` stylesheet — the prefixed CSS for the field messages, ready to ship as a `.css` file. */
|
|
275
365
|
declare const formFieldMessagesCss: Definition["css"];
|
|
276
366
|
//#endregion
|
|
277
|
-
//#region src/components/form-field.d.ts
|
|
367
|
+
//#region src/components/form-field/index.d.ts
|
|
278
368
|
/** Standalone `formField` stylesheet — the prefixed CSS for the form-field wrapper, ready to ship as a `.css` file. */
|
|
279
369
|
declare const formFieldCss: Definition["css"];
|
|
280
370
|
//#endregion
|
|
281
|
-
//#region src/components/form-field-group.d.ts
|
|
371
|
+
//#region src/components/form-field-group/index.d.ts
|
|
282
372
|
/** Standalone `formFieldGroup` stylesheet — the prefixed CSS for the fieldset group, ready to ship as a `.css` file. */
|
|
283
373
|
declare const formFieldGroupCss: Definition["css"];
|
|
284
374
|
//#endregion
|
|
285
|
-
//#region src/components/radio-input-group.d.ts
|
|
375
|
+
//#region src/components/radio-input-group/index.d.ts
|
|
286
376
|
/** Standalone `radioInputGroup` stylesheet — the prefixed CSS for the radio group, ready to ship as a `.css` file. */
|
|
287
377
|
declare const radioInputGroupCss: Definition["css"];
|
|
288
378
|
//#endregion
|
|
289
|
-
//#region src/components/
|
|
379
|
+
//#region src/components/view/index.d.ts
|
|
380
|
+
/** The View component as a standalone, header-wrapped stylesheet. */
|
|
381
|
+
declare const viewCss: Definition["css"];
|
|
382
|
+
//#endregion
|
|
383
|
+
//#region src/components/select/index.d.ts
|
|
290
384
|
/**
|
|
291
385
|
* The **experimental** customizable-select enhancement for `.<prefix>-simple-select`. Everything is
|
|
292
386
|
* gated behind `@supports (appearance: base-select)` (the CSS Customizable Select model — Chrome 135+,
|
|
@@ -311,39 +405,63 @@ declare const radioInputGroupCss: Definition["css"];
|
|
|
311
405
|
*/
|
|
312
406
|
declare function selectCss(options?: ComponentOptions): string;
|
|
313
407
|
//#endregion
|
|
314
|
-
//#region src/utilities/
|
|
315
|
-
/** The View utility as a standalone, header-wrapped stylesheet. */
|
|
316
|
-
declare const viewCss: Definition["css"];
|
|
317
|
-
//#endregion
|
|
318
|
-
//#region src/utilities/spacing.d.ts
|
|
408
|
+
//#region src/utilities/spacing/index.d.ts
|
|
319
409
|
/** The spacing utilities as a standalone, header-wrapped stylesheet. */
|
|
320
410
|
declare const spacingUtilitiesCss: Definition["css"];
|
|
321
411
|
//#endregion
|
|
322
|
-
//#region src/utilities/gap.d.ts
|
|
412
|
+
//#region src/utilities/gap/index.d.ts
|
|
323
413
|
/** The gap utility as a standalone, header-wrapped stylesheet. */
|
|
324
414
|
declare const gapCss: Definition["css"];
|
|
325
415
|
//#endregion
|
|
326
|
-
//#region src/utilities/layout.d.ts
|
|
416
|
+
//#region src/utilities/layout/index.d.ts
|
|
327
417
|
/** The layout utilities as a standalone, header-wrapped stylesheet. */
|
|
328
418
|
declare const layoutUtilitiesCss: Definition["css"];
|
|
329
419
|
//#endregion
|
|
330
|
-
//#region src/utilities/responsive.d.ts
|
|
420
|
+
//#region src/utilities/responsive/index.d.ts
|
|
331
421
|
/** The responsive-visibility utilities as a standalone, header-wrapped stylesheet. */
|
|
332
422
|
declare const responsiveUtilitiesCss: Definition["css"];
|
|
333
423
|
//#endregion
|
|
334
|
-
//#region src/utilities/
|
|
335
|
-
/** The
|
|
336
|
-
declare const
|
|
424
|
+
//#region src/utilities/position/index.d.ts
|
|
425
|
+
/** The position utility as a standalone, header-wrapped stylesheet. */
|
|
426
|
+
declare const positionUtilitiesCss: Definition["css"];
|
|
427
|
+
//#endregion
|
|
428
|
+
//#region src/utilities/overflow/index.d.ts
|
|
429
|
+
/** The overflow utility as a standalone, header-wrapped stylesheet. */
|
|
430
|
+
declare const overflowUtilitiesCss: Definition["css"];
|
|
337
431
|
//#endregion
|
|
338
|
-
//#region src/utilities/
|
|
432
|
+
//#region src/utilities/cursor/index.d.ts
|
|
433
|
+
/** The cursor utility as a standalone, header-wrapped stylesheet. */
|
|
434
|
+
declare const cursorUtilitiesCss: Definition["css"];
|
|
435
|
+
//#endregion
|
|
436
|
+
//#region src/utilities/stacking/index.d.ts
|
|
437
|
+
/** The stacking utility as a standalone, header-wrapped stylesheet. */
|
|
438
|
+
declare const stackingUtilityCss: Definition["css"];
|
|
439
|
+
//#endregion
|
|
440
|
+
//#region src/utilities/mask/index.d.ts
|
|
339
441
|
/** The mask utility as a standalone, header-wrapped stylesheet. */
|
|
340
|
-
declare const
|
|
442
|
+
declare const maskUtilityCss: Definition["css"];
|
|
443
|
+
//#endregion
|
|
444
|
+
//#region src/utilities/transition/index.d.ts
|
|
445
|
+
/** The transition utility as a standalone, header-wrapped stylesheet. */
|
|
446
|
+
declare const transitionCss: Definition["css"];
|
|
447
|
+
//#endregion
|
|
448
|
+
//#region src/utilities/truncate/index.d.ts
|
|
449
|
+
/** The truncate utility as a standalone, header-wrapped stylesheet. */
|
|
450
|
+
declare const truncateCss: Definition["css"];
|
|
341
451
|
//#endregion
|
|
342
|
-
//#region src/utilities/
|
|
452
|
+
//#region src/utilities/icon/index.d.ts
|
|
453
|
+
/** The icon utility as a standalone, header-wrapped stylesheet. */
|
|
454
|
+
declare const iconCss: Definition["css"];
|
|
455
|
+
//#endregion
|
|
456
|
+
//#region src/utilities/screen-reader-content/index.d.ts
|
|
343
457
|
/** The screen-reader-content utility as a standalone, header-wrapped stylesheet. */
|
|
344
458
|
declare const screenReaderContentCss: Definition["css"];
|
|
345
459
|
//#endregion
|
|
346
|
-
//#region src/utilities/
|
|
460
|
+
//#region src/utilities/visual-debug/index.d.ts
|
|
461
|
+
/** The visual-debug utility as a standalone, header-wrapped stylesheet. */
|
|
462
|
+
declare const visualDebugCss: Definition["css"];
|
|
463
|
+
//#endregion
|
|
464
|
+
//#region src/utilities/icon-glyphs/index.d.ts
|
|
347
465
|
/** Options for {@link iconGlyphsCss}. */
|
|
348
466
|
interface IconGlyphsOptions extends ComponentOptions {
|
|
349
467
|
/**
|
|
@@ -391,8 +509,8 @@ declare function iconGlyphsCss(names: readonly string[], options?: IconGlyphsOpt
|
|
|
391
509
|
declare function baseCss(): string;
|
|
392
510
|
/**
|
|
393
511
|
* Build the aggregated component stylesheet: every component's rules in the `COMPONENTS` concat order.
|
|
394
|
-
* The size-alias and
|
|
395
|
-
*
|
|
512
|
+
* The size-alias and alias twins are appended PER COMPONENT (within its own chunk) so each alias
|
|
513
|
+
* documents on its own page — the aliases are discovered from each record's `@alias {@link -x}` or
|
|
396
514
|
* `@deprecated {@link -x}` metadata (see `withAliases`), not a central hand-kept list. The
|
|
397
515
|
* `--instui-elevation-*` shadow scale the components reference is defined in the token sheet
|
|
398
516
|
* (`@pantoken/css`), so it's no longer inlined here.
|
|
@@ -402,4 +520,4 @@ declare function baseCss(): string;
|
|
|
402
520
|
*/
|
|
403
521
|
declare function componentsCss(options?: ComponentOptions): string;
|
|
404
522
|
//#endregion
|
|
405
|
-
export { type ComponentOptions, DEFAULT_PREFIX, ELEVATION_NAMES, FOCUSABLE_SELECTOR, type IconGlyphsOptions, type ProseOptions, alertCss, avatarCss, badgeCss, baseCss, billboardCss, breadcrumbCss, buttonCss, bylineCss, calendarCss, checkboxCss, closeButtonCss, componentsCss, contextViewCss, elevationCss, elevationDeclarations, fileDropCss, focusOutlineCss, focusOutlineDeclarations, focusOutlineRules, formFieldCss, formFieldGroupCss, formFieldMessagesCss, gapCss, headingCss, iconCss, iconGlyphsCss, imgCss, inPlaceEditCss, inputGroupCss, layoutUtilitiesCss, linkCss, listCss, maskCss, menuCss, metricCss, modalCss, numberInputCss, paginationCss, pillCss, popoverCss, progressCircleCss, progressCss, proseCss, radioCss, radioInputGroupCss, rangeInputCss, ratingCss, responsiveUtilitiesCss, screenReaderContentCss, selectCss, sideNavBarCss, simpleSelectCss, spacingUtilitiesCss, spinnerCss, tableCss, tabsCss, tagCss, textAreaCss, textCss, textInputCss, toggleDetailsCss, toggleGroupCss, tooltipCss, trayCss, treeBrowserCss, truncateCss, viewCss };
|
|
523
|
+
export { type ComponentOptions, DEFAULT_PREFIX, ELEVATION_NAMES, FOCUSABLE_SELECTOR, type IconGlyphsOptions, type ProseOptions, alertCss, avatarCss, badgeCss, baseCss, billboardCss, breadcrumbCss, breadcrumbLinkCss, buttonCss, bylineCss, calendarCss, calendarDayCss, checkboxCss, closeButtonCss, componentsCss, contextViewCss, cursorUtilitiesCss, drawerLayoutContentCss, drawerLayoutCss, drawerLayoutTrayCss, elevationCss, elevationDeclarations, fileDropCss, focusOutlineCss, focusOutlineDeclarations, focusOutlineRules, formFieldCss, formFieldGroupCss, formFieldMessagesCss, gapCss, headingCss, iconCss, iconGlyphsCss, imgCss, inPlaceEditCss, inputGroupCss, layoutUtilitiesCss, linkCss, listCss, listItemCss, maskCss, maskUtilityCss, menuCss, menuGroupCss, menuItemCss, menuSeparatorCss, metricCss, modalBodyCss, modalCss, modalFooterCss, modalHeaderCss, numberInputCss, overflowUtilitiesCss, paginationCss, paginationPageCss, pillCss, popoverCss, positionUtilitiesCss, progressCircleCss, progressCss, proseCss, radioCss, radioInputGroupCss, rangeInputCss, ratingCss, responsiveUtilitiesCss, screenReaderContentCss, selectCss, sideNavBarCss, sideNavBarItemCss, simpleSelectCss, spacingUtilitiesCss, spinnerCss, stackingUtilityCss, tableBodyCss, tableCellCss, tableColHeaderCss, tableCss, tableHeadCss, tableRowCss, tableRowHeaderCss, tabsCss, tabsPanelCss, tabsTabCss, tagCss, textAreaCss, textCss, textInputCss, toggleDetailsCss, toggleGroupCss, tooltipCss, transitionCss, trayCss, treeBrowserCss, truncateCss, viewCss, visualDebugCss };
|