@oddkin/components 1.0.0-beta.0 → 1.0.0-beta.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 +2 -2
- package/agent/GUIDE.md +4 -12
- package/agent/kit.json +57 -9
- package/agent/llms.txt +10 -2
- package/agent/references/components/odd-alert.md +1 -5
- package/agent/references/components/odd-avatar.md +1 -5
- package/agent/references/components/odd-badge.md +1 -5
- package/agent/references/components/odd-breadcrumbs.md +1 -5
- package/agent/references/components/odd-button.md +1 -5
- package/agent/references/components/odd-calendar.md +1 -5
- package/agent/references/components/odd-card.md +1 -5
- package/agent/references/components/odd-carousel.md +1 -5
- package/agent/references/components/odd-checkbox-group.md +1 -5
- package/agent/references/components/odd-checkbox.md +1 -5
- package/agent/references/components/odd-chip.md +1 -5
- package/agent/references/components/odd-color-picker.md +1 -5
- package/agent/references/components/odd-combobox.md +1 -5
- package/agent/references/components/odd-command-palette.md +1 -5
- package/agent/references/components/odd-container.md +1 -5
- package/agent/references/components/odd-copy-button.md +1 -5
- package/agent/references/components/odd-date-picker.md +1 -5
- package/agent/references/components/odd-dialog.md +1 -5
- package/agent/references/components/odd-disclosure.md +1 -5
- package/agent/references/components/odd-drawer.md +1 -5
- package/agent/references/components/odd-empty-state.md +1 -5
- package/agent/references/components/odd-file-input.md +1 -5
- package/agent/references/components/odd-icon.md +1 -5
- package/agent/references/components/odd-input.md +1 -5
- package/agent/references/components/odd-listbox.md +1 -5
- package/agent/references/components/odd-menu.md +1 -5
- package/agent/references/components/odd-one-time-code.md +1 -5
- package/agent/references/components/odd-pagination.md +1 -5
- package/agent/references/components/odd-picker.md +1 -5
- package/agent/references/components/odd-popover.md +1 -5
- package/agent/references/components/odd-progress.md +1 -5
- package/agent/references/components/odd-radio-group.md +1 -5
- package/agent/references/components/odd-rating.md +1 -5
- package/agent/references/components/odd-relative-time.md +1 -5
- package/agent/references/components/odd-scroll-region.md +1 -5
- package/agent/references/components/odd-segmented-control.md +1 -5
- package/agent/references/components/odd-select.md +1 -5
- package/agent/references/components/odd-side-nav.md +1 -5
- package/agent/references/components/odd-skeleton.md +1 -5
- package/agent/references/components/odd-slider.md +1 -5
- package/agent/references/components/odd-spinner.md +1 -5
- package/agent/references/components/odd-split-button.md +1 -5
- package/agent/references/components/odd-split-panel.md +1 -5
- package/agent/references/components/odd-stat.md +1 -5
- package/agent/references/components/odd-status-marker.md +1 -5
- package/agent/references/components/odd-switch.md +1 -5
- package/agent/references/components/odd-tab-panel.md +1 -5
- package/agent/references/components/odd-tabs.md +1 -5
- package/agent/references/components/odd-textarea.md +1 -5
- package/agent/references/components/odd-toast.md +1 -5
- package/agent/references/components/odd-toolbar.md +1 -5
- package/agent/references/components/odd-tooltip.md +1 -5
- package/agent/references/components/odd-tree.md +1 -5
- package/agent/references/components/odd-validation-summary.md +1 -5
- package/agent/references/composition.md +39 -0
- package/agent/references/recipes/breadcrumbs.md +9 -0
- package/agent/references/recipes/calendar.md +11 -0
- package/agent/references/recipes/dialog.md +10 -0
- package/agent/references/recipes/disclosure.md +9 -0
- package/agent/references/recipes/file-input.md +13 -0
- package/agent/references/recipes/pagination.md +10 -0
- package/agent/references/recipes/toolbar.md +13 -0
- package/agent/references/recipes/validation-summary.md +11 -0
- package/agent/references/stylesheets/layout.md +2 -2
- package/dist/breadcrumbs/breadcrumbs.recipe.d.ts +3 -0
- package/dist/breadcrumbs/breadcrumbs.recipe.d.ts.map +1 -0
- package/dist/breadcrumbs/breadcrumbs.recipe.js +10 -0
- package/dist/breadcrumbs/breadcrumbs.recipe.js.map +1 -0
- package/dist/breadcrumbs/breadcrumbs.recipe.styles.d.ts +2 -0
- package/dist/breadcrumbs/breadcrumbs.recipe.styles.d.ts.map +1 -0
- package/dist/breadcrumbs/breadcrumbs.recipe.styles.js +5 -0
- package/dist/breadcrumbs/breadcrumbs.recipe.styles.js.map +1 -0
- package/dist/breadcrumbs/breadcrumbs.structural.styles.d.ts +2 -1
- package/dist/breadcrumbs/breadcrumbs.structural.styles.d.ts.map +1 -1
- package/dist/breadcrumbs/breadcrumbs.structural.styles.js +4 -5
- package/dist/breadcrumbs/breadcrumbs.structural.styles.js.map +1 -1
- package/dist/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/dist/breadcrumbs/breadcrumbs.styles.js +0 -1
- package/dist/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/dist/calendar/calendar.recipe.d.ts +3 -0
- package/dist/calendar/calendar.recipe.d.ts.map +1 -0
- package/dist/calendar/calendar.recipe.js +12 -0
- package/dist/calendar/calendar.recipe.js.map +1 -0
- package/dist/calendar/calendar.recipe.styles.d.ts +2 -0
- package/dist/calendar/calendar.recipe.styles.d.ts.map +1 -0
- package/dist/calendar/calendar.recipe.styles.js +5 -0
- package/dist/calendar/calendar.recipe.styles.js.map +1 -0
- package/dist/calendar/calendar.structural.styles.d.ts +2 -1
- package/dist/calendar/calendar.structural.styles.d.ts.map +1 -1
- package/dist/calendar/calendar.structural.styles.js +4 -11
- package/dist/calendar/calendar.structural.styles.js.map +1 -1
- package/dist/calendar/calendar.styles.d.ts.map +1 -1
- package/dist/calendar/calendar.styles.js +0 -7
- package/dist/calendar/calendar.styles.js.map +1 -1
- package/dist/css/field.css +1 -0
- package/dist/css/index.d.ts +2 -1
- package/dist/css/index.d.ts.map +1 -1
- package/dist/css/index.js +7 -1
- package/dist/css/index.js.map +1 -1
- package/dist/css/layout.css +4 -0
- package/dist/dialog/dialog.recipe.d.ts +3 -0
- package/dist/dialog/dialog.recipe.d.ts.map +1 -0
- package/dist/dialog/dialog.recipe.js +11 -0
- package/dist/dialog/dialog.recipe.js.map +1 -0
- package/dist/dialog/dialog.recipe.styles.d.ts +2 -0
- package/dist/dialog/dialog.recipe.styles.d.ts.map +1 -0
- package/dist/dialog/dialog.recipe.styles.js +5 -0
- package/dist/dialog/dialog.recipe.styles.js.map +1 -0
- package/dist/dialog/dialog.structural.styles.d.ts +2 -1
- package/dist/dialog/dialog.structural.styles.d.ts.map +1 -1
- package/dist/dialog/dialog.structural.styles.js +4 -6
- package/dist/dialog/dialog.structural.styles.js.map +1 -1
- package/dist/dialog/dialog.styles.d.ts.map +1 -1
- package/dist/dialog/dialog.styles.js +0 -2
- package/dist/dialog/dialog.styles.js.map +1 -1
- package/dist/disclosure/disclosure.recipe.d.ts +3 -0
- package/dist/disclosure/disclosure.recipe.d.ts.map +1 -0
- package/dist/disclosure/disclosure.recipe.js +10 -0
- package/dist/disclosure/disclosure.recipe.js.map +1 -0
- package/dist/disclosure/disclosure.recipe.styles.d.ts +2 -0
- package/dist/disclosure/disclosure.recipe.styles.d.ts.map +1 -0
- package/dist/disclosure/disclosure.recipe.styles.js +5 -0
- package/dist/disclosure/disclosure.recipe.styles.js.map +1 -0
- package/dist/disclosure/disclosure.structural.styles.d.ts +2 -1
- package/dist/disclosure/disclosure.structural.styles.d.ts.map +1 -1
- package/dist/disclosure/disclosure.structural.styles.js +4 -3
- package/dist/disclosure/disclosure.structural.styles.js.map +1 -1
- package/dist/disclosure/disclosure.styles.d.ts.map +1 -1
- package/dist/disclosure/disclosure.styles.js +0 -1
- package/dist/disclosure/disclosure.styles.js.map +1 -1
- package/dist/file-input/file-input.recipe.d.ts +3 -0
- package/dist/file-input/file-input.recipe.d.ts.map +1 -0
- package/dist/file-input/file-input.recipe.js +14 -0
- package/dist/file-input/file-input.recipe.js.map +1 -0
- package/dist/file-input/file-input.recipe.styles.d.ts +2 -0
- package/dist/file-input/file-input.recipe.styles.d.ts.map +1 -0
- package/dist/file-input/file-input.recipe.styles.js +5 -0
- package/dist/file-input/file-input.recipe.styles.js.map +1 -0
- package/dist/file-input/file-input.structural.styles.d.ts +2 -1
- package/dist/file-input/file-input.structural.styles.d.ts.map +1 -1
- package/dist/file-input/file-input.structural.styles.js +4 -15
- package/dist/file-input/file-input.structural.styles.js.map +1 -1
- package/dist/file-input/file-input.styles.d.ts.map +1 -1
- package/dist/file-input/file-input.styles.js +0 -8
- package/dist/file-input/file-input.styles.js.map +1 -1
- package/dist/input/input.styles.d.ts +3 -1
- package/dist/input/input.styles.d.ts.map +1 -1
- package/dist/input/input.styles.js +7 -1
- package/dist/input/input.styles.js.map +1 -1
- package/dist/pagination/pagination.recipe.d.ts +3 -0
- package/dist/pagination/pagination.recipe.d.ts.map +1 -0
- package/dist/pagination/pagination.recipe.js +11 -0
- package/dist/pagination/pagination.recipe.js.map +1 -0
- package/dist/pagination/pagination.recipe.styles.d.ts +2 -0
- package/dist/pagination/pagination.recipe.styles.d.ts.map +1 -0
- package/dist/pagination/pagination.recipe.styles.js +5 -0
- package/dist/pagination/pagination.recipe.styles.js.map +1 -0
- package/dist/pagination/pagination.structural.styles.d.ts +2 -2
- package/dist/pagination/pagination.structural.styles.d.ts.map +1 -1
- package/dist/pagination/pagination.structural.styles.js +4 -12
- package/dist/pagination/pagination.structural.styles.js.map +1 -1
- package/dist/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/pagination/pagination.styles.js +0 -4
- package/dist/pagination/pagination.styles.js.map +1 -1
- package/dist/segmented-control/segmented-control.structural.styles.d.ts +5 -3
- package/dist/segmented-control/segmented-control.structural.styles.d.ts.map +1 -1
- package/dist/segmented-control/segmented-control.structural.styles.js +9 -7
- package/dist/segmented-control/segmented-control.structural.styles.js.map +1 -1
- package/dist/select/select.structural.styles.d.ts +6 -4
- package/dist/select/select.structural.styles.d.ts.map +1 -1
- package/dist/select/select.structural.styles.js +9 -4
- package/dist/select/select.structural.styles.js.map +1 -1
- package/dist/side-nav/side-nav.structural.styles.d.ts.map +1 -1
- package/dist/side-nav/side-nav.structural.styles.js +8 -2
- package/dist/side-nav/side-nav.structural.styles.js.map +1 -1
- package/dist/side-nav/side-nav.styles.d.ts +2 -1
- package/dist/side-nav/side-nav.styles.d.ts.map +1 -1
- package/dist/side-nav/side-nav.styles.js +10 -3
- package/dist/side-nav/side-nav.styles.js.map +1 -1
- package/dist/styles/control-indicator.structural.styles.d.ts.map +1 -1
- package/dist/styles/control-indicator.structural.styles.js +1 -0
- package/dist/styles/control-indicator.structural.styles.js.map +1 -1
- package/dist/styles/field.structural.styles.d.ts +1 -0
- package/dist/styles/field.structural.styles.d.ts.map +1 -1
- package/dist/styles/field.structural.styles.js +2 -0
- package/dist/styles/field.structural.styles.js.map +1 -1
- package/dist/styles/nav-row.structural.styles.d.ts +4 -2
- package/dist/styles/nav-row.structural.styles.d.ts.map +1 -1
- package/dist/styles/nav-row.structural.styles.js +12 -5
- package/dist/styles/nav-row.structural.styles.js.map +1 -1
- package/dist/styles/nav-row.styles.d.ts +2 -0
- package/dist/styles/nav-row.styles.d.ts.map +1 -1
- package/dist/styles/nav-row.styles.js +8 -4
- package/dist/styles/nav-row.styles.js.map +1 -1
- package/dist/tabs/tabs.structural.styles.d.ts +2 -1
- package/dist/tabs/tabs.structural.styles.d.ts.map +1 -1
- package/dist/tabs/tabs.structural.styles.js +6 -1
- package/dist/tabs/tabs.structural.styles.js.map +1 -1
- package/dist/toolbar/toolbar.recipe.d.ts +3 -0
- package/dist/toolbar/toolbar.recipe.d.ts.map +1 -0
- package/dist/toolbar/toolbar.recipe.js +20 -0
- package/dist/toolbar/toolbar.recipe.js.map +1 -0
- package/dist/toolbar/toolbar.recipe.styles.d.ts +2 -0
- package/dist/toolbar/toolbar.recipe.styles.d.ts.map +1 -0
- package/dist/toolbar/toolbar.recipe.styles.js +5 -0
- package/dist/toolbar/toolbar.recipe.styles.js.map +1 -0
- package/dist/toolbar/toolbar.structural.styles.d.ts +2 -2
- package/dist/toolbar/toolbar.structural.styles.d.ts.map +1 -1
- package/dist/toolbar/toolbar.structural.styles.js +4 -13
- package/dist/toolbar/toolbar.structural.styles.js.map +1 -1
- package/dist/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/toolbar/toolbar.styles.js +0 -1
- package/dist/toolbar/toolbar.styles.js.map +1 -1
- package/dist/validation-summary/validation-summary.recipe.d.ts +3 -0
- package/dist/validation-summary/validation-summary.recipe.d.ts.map +1 -0
- package/dist/validation-summary/validation-summary.recipe.js +12 -0
- package/dist/validation-summary/validation-summary.recipe.js.map +1 -0
- package/dist/validation-summary/validation-summary.recipe.styles.d.ts +2 -0
- package/dist/validation-summary/validation-summary.recipe.styles.d.ts.map +1 -0
- package/dist/validation-summary/validation-summary.recipe.styles.js +5 -0
- package/dist/validation-summary/validation-summary.recipe.styles.js.map +1 -0
- package/dist/validation-summary/validation-summary.structural.styles.d.ts +2 -2
- package/dist/validation-summary/validation-summary.structural.styles.d.ts.map +1 -1
- package/dist/validation-summary/validation-summary.structural.styles.js +4 -11
- package/dist/validation-summary/validation-summary.structural.styles.js.map +1 -1
- package/dist/validation-summary/validation-summary.styles.d.ts.map +1 -1
- package/dist/validation-summary/validation-summary.styles.js +0 -7
- package/dist/validation-summary/validation-summary.styles.js.map +1 -1
- package/oddkin.metadata.json +5189 -4595
- package/package.json +7 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disclosure.structural.styles.d.ts","sourceRoot":"","sources":["../../src/disclosure/disclosure.structural.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"disclosure.structural.styles.d.ts","sourceRoot":"","sources":["../../src/disclosure/disclosure.structural.styles.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,yCA+CtC,CAAC"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { css } from '@oddkin/core/styles';
|
|
2
|
+
import { disclosureRecipeStyles } from './disclosure.recipe.styles.js';
|
|
2
3
|
/**
|
|
3
|
-
* A summary row (text, then the chevron at the inline end
|
|
4
|
+
* A summary row (text, then the chevron at the inline end; the layout recipe in
|
|
5
|
+
* `disclosure.recipe.ts`) above the content. Disclosures joined
|
|
4
6
|
* in a group share their borders. No brand or visual tokens.
|
|
5
7
|
*/
|
|
6
8
|
export const disclosureStructuralStyles = css `
|
|
9
|
+
${disclosureRecipeStyles}
|
|
7
10
|
:host {
|
|
8
11
|
display: block;
|
|
9
12
|
}
|
|
10
13
|
.summary {
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
14
|
list-style: none;
|
|
14
15
|
cursor: pointer;
|
|
15
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disclosure.structural.styles.js","sourceRoot":"","sources":["../../src/disclosure/disclosure.structural.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"disclosure.structural.styles.js","sourceRoot":"","sources":["../../src/disclosure/disclosure.structural.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE;;;;GAIG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,CAAA;IACzC,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disclosure.styles.d.ts","sourceRoot":"","sources":["../../src/disclosure/disclosure.styles.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"disclosure.styles.d.ts","sourceRoot":"","sources":["../../src/disclosure/disclosure.styles.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,yCA6C5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disclosure.styles.js","sourceRoot":"","sources":["../../src/disclosure/disclosure.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;cAErB,KAAK,CAAC,sBAAsB,CAAC,UAAU,KAAK,CAAC,sBAAsB,CAAC;kDAChC,KAAK,CAAC,aAAa,CAAC;mDACnB,KAAK,CAAC,uBAAuB,CAAC;aACpE,KAAK,CAAC,oBAAoB,CAAC;mBACrB,KAAK,CAAC,gBAAgB,CAAC;iBACzB,KAAK,CAAC,cAAc,CAAC;mBACnB,KAAK,CAAC,gBAAgB,CAAC;mBACvB,KAAK,CAAC,qBAAqB,CAAC;;;eAGhC,KAAK,CAAC,aAAa,CAAC,UAAU,KAAK,CAAC,kBAAkB,CAAC;sBAChD,KAAK,CAAC,cAAc,CAAC;;;
|
|
1
|
+
{"version":3,"file":"disclosure.styles.js","sourceRoot":"","sources":["../../src/disclosure/disclosure.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;cAErB,KAAK,CAAC,sBAAsB,CAAC,UAAU,KAAK,CAAC,sBAAsB,CAAC;kDAChC,KAAK,CAAC,aAAa,CAAC;mDACnB,KAAK,CAAC,uBAAuB,CAAC;aACpE,KAAK,CAAC,oBAAoB,CAAC;mBACrB,KAAK,CAAC,gBAAgB,CAAC;iBACzB,KAAK,CAAC,cAAc,CAAC;mBACnB,KAAK,CAAC,gBAAgB,CAAC;mBACvB,KAAK,CAAC,qBAAqB,CAAC;;;eAGhC,KAAK,CAAC,aAAa,CAAC,UAAU,KAAK,CAAC,kBAAkB,CAAC;sBAChD,KAAK,CAAC,cAAc,CAAC;;;eAG5B,KAAK,CAAC,UAAU,CAAC;;;iBAGf,KAAK,CAAC,cAAc,CAAC;;;iBAGrB,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC;aAC1C,KAAK,CAAC,sBAAsB,CAAC;;;;;;kBAMxB,KAAK,CAAC,sBAAsB,CAAC;kBAC7B,KAAK,CAAC,sBAAsB,CAAC;;;wBAGvB,KAAK,CAAC,UAAU,CAAC;;;qBAGpB,KAAK,CAAC,UAAU,CAAC;;;;;;;aAOzB,KAAK,CAAC,qBAAqB,CAAC;;CAExC,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Arrangement of the file input (layout-recipes.md §14): the drop surface in a column, its header and each file in rows, the file list, and each file's name over its size. */
|
|
2
|
+
export declare const fileInputRecipe: import("../layout/index.js").LayoutRecipe;
|
|
3
|
+
//# sourceMappingURL=file-input.recipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-input.recipe.d.ts","sourceRoot":"","sources":["../../src/file-input/file-input.recipe.ts"],"names":[],"mappings":"AAGA,gLAAgL;AAChL,eAAO,MAAM,eAAe,2CAS1B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { token } from '@oddkin/tokens/refs';
|
|
2
|
+
import { defineLayoutRecipe, row, stack } from '../layout/index.js';
|
|
3
|
+
/** Arrangement of the file input (layout-recipes.md §14): the drop surface in a column, its header and each file in rows, the file list, and each file's name over its size. */
|
|
4
|
+
export const fileInputRecipe = defineLayoutRecipe({
|
|
5
|
+
name: 'file-input',
|
|
6
|
+
regions: {
|
|
7
|
+
surface: stack({ gap: token('space.xs'), align: 'start' }),
|
|
8
|
+
header: row({ gap: token('space.md') }),
|
|
9
|
+
file: row({ gap: token('space.md') }),
|
|
10
|
+
files: stack({ gap: token('space.sm') }),
|
|
11
|
+
'file-text': stack({ gap: token('space.none') }),
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=file-input.recipe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-input.recipe.js","sourceRoot":"","sources":["../../src/file-input/file-input.recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEpE,gLAAgL;AAChL,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;IAChD,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE;QACP,OAAO,EAAE,KAAK,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;QAC1D,MAAM,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,UAAU,CAAC,EAAE,CAAC;QACvC,IAAI,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,UAAU,CAAC,EAAE,CAAC;QACrC,KAAK,EAAE,KAAK,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,UAAU,CAAC,EAAE,CAAC;QACxC,WAAW,EAAE,KAAK,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,YAAY,CAAC,EAAE,CAAC;KACjD;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-input.recipe.styles.d.ts","sourceRoot":"","sources":["../../src/file-input/file-input.recipe.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB,yCAEjC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// Generated from ./file-input.recipe.ts by packages/components/test/recipes.test.ts (UPDATE_FIXTURES=1).
|
|
2
|
+
// Do not edit: change the recipe and regenerate.
|
|
3
|
+
import { unsafeCSS } from '@oddkin/core/styles';
|
|
4
|
+
export const fileInputRecipeStyles = unsafeCSS('@layer odd.layout.base, odd.layout.variant, odd.layout.condition;\n@layer odd.layout.base {\n .surface {\n display: flex;\n flex-direction: column;\n gap: var(--odd-space-xs);\n min-inline-size: 0;\n align-items: start;\n }\n .header {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--odd-space-md);\n flex-wrap: nowrap;\n min-inline-size: 0;\n }\n .file {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--odd-space-md);\n flex-wrap: nowrap;\n min-inline-size: 0;\n }\n .files {\n display: flex;\n flex-direction: column;\n gap: var(--odd-space-sm);\n min-inline-size: 0;\n }\n .file-text {\n display: flex;\n flex-direction: column;\n gap: var(--odd-space-none);\n min-inline-size: 0;\n }\n}\n');
|
|
5
|
+
//# sourceMappingURL=file-input.recipe.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-input.recipe.styles.js","sourceRoot":"","sources":["../../src/file-input/file-input.recipe.styles.ts"],"names":[],"mappings":"AAAA,yGAAyG;AACzG,iDAAiD;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,CAAC,MAAM,qBAAqB,GAAG,SAAS,CAC5C,m0BAAm0B,CACp0B,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The drop zone under the label: the glyph and title in a row, then the description, the picker
|
|
3
3
|
* button, and the file rows, indented under the title; each row a glyph, the name over the size,
|
|
4
|
-
* and the remove button. The native input shows
|
|
4
|
+
* and the remove button (the layout recipe in `file-input.recipe.ts`). The native input shows
|
|
5
|
+
* only its button: its own file-count text is
|
|
5
6
|
* sized out, since the rows list the files. No brand or visual tokens.
|
|
6
7
|
*/
|
|
7
8
|
export declare const fileInputStructuralStyles: import("@oddkin/core/styles").CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-input.structural.styles.d.ts","sourceRoot":"","sources":["../../src/file-input/file-input.structural.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"file-input.structural.styles.d.ts","sourceRoot":"","sources":["../../src/file-input/file-input.structural.styles.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,yCAyCrC,CAAC"}
|
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
import { css } from '@oddkin/core/styles';
|
|
2
|
+
import { fileInputRecipeStyles } from './file-input.recipe.styles.js';
|
|
2
3
|
/**
|
|
3
4
|
* The drop zone under the label: the glyph and title in a row, then the description, the picker
|
|
4
5
|
* button, and the file rows, indented under the title; each row a glyph, the name over the size,
|
|
5
|
-
* and the remove button. The native input shows
|
|
6
|
+
* and the remove button (the layout recipe in `file-input.recipe.ts`). The native input shows
|
|
7
|
+
* only its button: its own file-count text is
|
|
6
8
|
* sized out, since the rows list the files. No brand or visual tokens.
|
|
7
9
|
*/
|
|
8
10
|
export const fileInputStructuralStyles = css `
|
|
11
|
+
${fileInputRecipeStyles}
|
|
9
12
|
:host {
|
|
10
13
|
display: block;
|
|
11
14
|
}
|
|
12
|
-
.surface {
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
align-items: flex-start;
|
|
16
|
-
}
|
|
17
15
|
.header,
|
|
18
16
|
.file {
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
17
|
align-self: stretch;
|
|
22
|
-
min-inline-size: 0;
|
|
23
18
|
}
|
|
24
19
|
.header-glyph,
|
|
25
20
|
.file-glyph {
|
|
@@ -38,16 +33,10 @@ export const fileInputStructuralStyles = css `
|
|
|
38
33
|
font-size: initial;
|
|
39
34
|
}
|
|
40
35
|
.files {
|
|
41
|
-
display: flex;
|
|
42
|
-
flex-direction: column;
|
|
43
36
|
align-self: stretch;
|
|
44
37
|
margin: 0;
|
|
45
38
|
padding: 0;
|
|
46
39
|
}
|
|
47
|
-
.file-text {
|
|
48
|
-
display: flex;
|
|
49
|
-
flex-direction: column;
|
|
50
|
-
}
|
|
51
40
|
.remove {
|
|
52
41
|
display: inline-flex;
|
|
53
42
|
flex: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-input.structural.styles.js","sourceRoot":"","sources":["../../src/file-input/file-input.structural.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"file-input.structural.styles.js","sourceRoot":"","sources":["../../src/file-input/file-input.structural.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,CAAA;IACxC,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-input.styles.d.ts","sourceRoot":"","sources":["../../src/file-input/file-input.styles.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"file-input.styles.d.ts","sourceRoot":"","sources":["../../src/file-input/file-input.styles.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,yCAsG3B,CAAC"}
|
|
@@ -10,7 +10,6 @@ import { token } from '@oddkin/tokens/refs';
|
|
|
10
10
|
*/
|
|
11
11
|
export const fileInputStyles = css `
|
|
12
12
|
.surface {
|
|
13
|
-
gap: ${token('space.xs')};
|
|
14
13
|
padding: ${token('card.padding')};
|
|
15
14
|
border: ${token('border.width.default')} solid ${token('color.border.strong')};
|
|
16
15
|
border-radius: ${token('card.radius')};
|
|
@@ -23,10 +22,6 @@ export const fileInputStyles = css `
|
|
|
23
22
|
border-color: ${token('color.action.default')};
|
|
24
23
|
background: ${token('color.selection.surface')};
|
|
25
24
|
}
|
|
26
|
-
.header,
|
|
27
|
-
.file {
|
|
28
|
-
gap: ${token('space.md')};
|
|
29
|
-
}
|
|
30
25
|
.header-glyph,
|
|
31
26
|
.file-glyph {
|
|
32
27
|
color: ${token('color.text.secondary')};
|
|
@@ -92,9 +87,6 @@ export const fileInputStyles = css `
|
|
|
92
87
|
.field:has(.picker:disabled) :is(.label, .title) {
|
|
93
88
|
color: ${token('color.text.disabled')};
|
|
94
89
|
}
|
|
95
|
-
.files {
|
|
96
|
-
gap: ${token('space.sm')};
|
|
97
|
-
}
|
|
98
90
|
.file-size {
|
|
99
91
|
color: ${token('color.text.secondary')};
|
|
100
92
|
font-size: ${token('type.small.size')};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-input.styles.js","sourceRoot":"","sources":["../../src/file-input/file-input.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;
|
|
1
|
+
{"version":3,"file":"file-input.styles.js","sourceRoot":"","sources":["../../src/file-input/file-input.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;eAEnB,KAAK,CAAC,cAAc,CAAC;cACtB,KAAK,CAAC,sBAAsB,CAAC,UAAU,KAAK,CAAC,qBAAqB,CAAC;qBAC5D,KAAK,CAAC,aAAa,CAAC;kBACvB,KAAK,CAAC,uBAAuB,CAAC;;2BAErB,KAAK,CAAC,sBAAsB,CAAC;kCACtB,KAAK,CAAC,wBAAwB,CAAC;;;oBAG7C,KAAK,CAAC,sBAAsB,CAAC;kBAC/B,KAAK,CAAC,yBAAyB,CAAC;;;;aAIrC,KAAK,CAAC,sBAAsB,CAAC;iBACzB,KAAK,CAAC,cAAc,CAAC;;;;;mBAKnB,KAAK,CAAC,gBAAgB,CAAC;iBACzB,KAAK,CAAC,cAAc,CAAC;mBACnB,KAAK,CAAC,gBAAgB,CAAC;mBACvB,KAAK,CAAC,qBAAqB,CAAC;sBACzB,KAAK,CAAC,wBAAwB,CAAC;;;;aAIxC,KAAK,CAAC,oBAAoB,CAAC;;;;gCAIR,KAAK,CAAC,cAAc,CAAC,MAAM,KAAK,CAAC,UAAU,CAAC;;;mCAGzC,KAAK,CAAC,cAAc,CAAC,MAAM,KAAK,CAAC,UAAU,CAAC;0BACrD,KAAK,CAAC,UAAU,CAAC;aAC9B,KAAK,CAAC,oBAAoB,CAAC;;;;;0BAKd,KAAK,CAAC,mBAAmB,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;cAC9D,KAAK,CAAC,YAAY,CAAC;qBACZ,KAAK,CAAC,YAAY,CAAC;sBAClB,KAAK,CAAC,2BAA2B,CAAC;cAC1C,KAAK,CAAC,sBAAsB,CAAC,UAAU,KAAK,CAAC,qBAAqB,CAAC;qBAC5D,KAAK,CAAC,gBAAgB,CAAC;kBAC1B,KAAK,CAAC,uBAAuB,CAAC;aACnC,KAAK,CAAC,oBAAoB,CAAC;mBACrB,KAAK,CAAC,gBAAgB,CAAC;iBACzB,KAAK,CAAC,cAAc,CAAC;mBACnB,KAAK,CAAC,gBAAgB,CAAC;mBACvB,KAAK,CAAC,qBAAqB,CAAC;sBACzB,KAAK,CAAC,wBAAwB,CAAC;;;2BAG1B,KAAK,CAAC,sBAAsB,CAAC;kCACtB,KAAK,CAAC,wBAAwB,CAAC;;;;oBAI7C,KAAK,CAAC,qBAAqB,CAAC;;;;kBAI9B,KAAK,CAAC,sBAAsB,CAAC;;;;kBAI7B,KAAK,CAAC,sBAAsB,CAAC;aAClC,KAAK,CAAC,qBAAqB,CAAC;;;;aAI5B,KAAK,CAAC,qBAAqB,CAAC;;;aAG5B,KAAK,CAAC,sBAAsB,CAAC;iBACzB,KAAK,CAAC,iBAAiB,CAAC;mBACtB,KAAK,CAAC,wBAAwB,CAAC;;;2BAGvB,KAAK,CAAC,mBAAmB,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;0BACnD,KAAK,CAAC,mBAAmB,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;qBACvD,KAAK,CAAC,gBAAgB,CAAC;;aAE/B,KAAK,CAAC,sBAAsB,CAAC;iBACzB,KAAK,CAAC,cAAc,CAAC;;;;oBAIlB,KAAK,CAAC,qBAAqB,CAAC;eACjC,KAAK,CAAC,oBAAoB,CAAC;;;;aAI7B,KAAK,CAAC,qBAAqB,CAAC;;;CAGxC,CAAC"}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* Oddkin's default input look beyond the shared control module: the search field's clear button,
|
|
3
3
|
* a round target of the minimum size around its 1em glyph, in secondary text; and Figma
|
|
4
4
|
* `number`'s stepper, a sunken segment inside the field's border at its end, of two buttons a
|
|
5
|
-
* control height wide, the text kept clear of it by `space.xs`.
|
|
5
|
+
* control height wide, the text kept clear of it by `space.xs`. The control takes the focus ring
|
|
6
|
+
* on `:focus`: a text field matches `:focus-visible` on any focus anyway, and WebKit focuses a date
|
|
7
|
+
* or time field's own segments, so there the input never matches it.
|
|
6
8
|
*/
|
|
7
9
|
export declare const inputStyles: import("@oddkin/core/styles").CSSResult;
|
|
8
10
|
//# sourceMappingURL=input.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.styles.d.ts","sourceRoot":"","sources":["../../src/input/input.styles.ts"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"input.styles.d.ts","sourceRoot":"","sources":["../../src/input/input.styles.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,yCA2CvB,CAAC"}
|
|
@@ -4,9 +4,15 @@ import { token } from '@oddkin/tokens/refs';
|
|
|
4
4
|
* Oddkin's default input look beyond the shared control module: the search field's clear button,
|
|
5
5
|
* a round target of the minimum size around its 1em glyph, in secondary text; and Figma
|
|
6
6
|
* `number`'s stepper, a sunken segment inside the field's border at its end, of two buttons a
|
|
7
|
-
* control height wide, the text kept clear of it by `space.xs`.
|
|
7
|
+
* control height wide, the text kept clear of it by `space.xs`. The control takes the focus ring
|
|
8
|
+
* on `:focus`: a text field matches `:focus-visible` on any focus anyway, and WebKit focuses a date
|
|
9
|
+
* or time field's own segments, so there the input never matches it.
|
|
8
10
|
*/
|
|
9
11
|
export const inputStyles = css `
|
|
12
|
+
.control:focus {
|
|
13
|
+
outline: ${token('focus.width')} solid ${token('color.focus.ring')};
|
|
14
|
+
outline-offset: ${token('focus.offset')};
|
|
15
|
+
}
|
|
10
16
|
.clear {
|
|
11
17
|
inline-size: ${token('target.min')};
|
|
12
18
|
block-size: ${token('target.min')};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.styles.js","sourceRoot":"","sources":["../../src/input/input.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C
|
|
1
|
+
{"version":3,"file":"input.styles.js","sourceRoot":"","sources":["../../src/input/input.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA;;eAEf,KAAK,CAAC,aAAa,CAAC,UAAU,KAAK,CAAC,kBAAkB,CAAC;sBAChD,KAAK,CAAC,cAAc,CAAC;;;mBAGxB,KAAK,CAAC,YAAY,CAAC;kBACpB,KAAK,CAAC,YAAY,CAAC;0BACX,KAAK,CAAC,YAAY,CAAC;qBACxB,KAAK,CAAC,aAAa,CAAC;aAC5B,KAAK,CAAC,sBAAsB,CAAC;;;;oBAItB,KAAK,CAAC,qBAAqB,CAAC;eACjC,KAAK,CAAC,oBAAoB,CAAC;;;oBAGtB,KAAK,CAAC,qBAAqB,CAAC;;;;cAIlC,KAAK,CAAC,sBAAsB,CAAC;;;gCAGX,KAAK,CAAC,gBAAgB,CAAC,OAAO,KAAK,CAAC,sBAAsB,CAAC;;;gCAG3D,KAAK,CAAC,gBAAgB,CAAC,OAAO,KAAK,CAAC,sBAAsB,CAAC;;kBAEzE,KAAK,CAAC,sBAAsB,CAAC;;;mBAG5B,KAAK,CAAC,mBAAmB,CAAC;;;aAGhC,KAAK,CAAC,qBAAqB,CAAC;;;;YAI7B,KAAK,CAAC,mBAAmB,CAAC,MAAM,KAAK,CAAC,sBAAsB,CAAC,MAAM,KAAK,CAAC,UAAU,CAAC;;;CAG/F,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Arrangement of the pagination (layout-recipes.md §14): the position and the page list apart in a row that wraps, and the pages in a row that wraps. */
|
|
2
|
+
export declare const paginationRecipe: import("../layout/index.js").LayoutRecipe;
|
|
3
|
+
//# sourceMappingURL=pagination.recipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.recipe.d.ts","sourceRoot":"","sources":["../../src/pagination/pagination.recipe.ts"],"names":[],"mappings":"AAGA,0JAA0J;AAC1J,eAAO,MAAM,gBAAgB,2CAM3B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { token } from '@oddkin/tokens/refs';
|
|
2
|
+
import { defineLayoutRecipe, row } from '../layout/index.js';
|
|
3
|
+
/** Arrangement of the pagination (layout-recipes.md §14): the position and the page list apart in a row that wraps, and the pages in a row that wraps. */
|
|
4
|
+
export const paginationRecipe = defineLayoutRecipe({
|
|
5
|
+
name: 'pagination',
|
|
6
|
+
regions: {
|
|
7
|
+
pagination: row({ gap: token('space.sm'), wrap: true, justify: 'space-between' }),
|
|
8
|
+
list: row({ gap: token('space.xs'), wrap: true }),
|
|
9
|
+
},
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=pagination.recipe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.recipe.js","sourceRoot":"","sources":["../../src/pagination/pagination.recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAE7D,0JAA0J;AAC1J,MAAM,CAAC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;IACjD,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE;QACP,UAAU,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,eAAe,EAAE,CAAC;QACjF,IAAI,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;KAClD;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.recipe.styles.d.ts","sourceRoot":"","sources":["../../src/pagination/pagination.recipe.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,yCAElC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// Generated from ./pagination.recipe.ts by packages/components/test/recipes.test.ts (UPDATE_FIXTURES=1).
|
|
2
|
+
// Do not edit: change the recipe and regenerate.
|
|
3
|
+
import { unsafeCSS } from '@oddkin/core/styles';
|
|
4
|
+
export const paginationRecipeStyles = unsafeCSS('@layer odd.layout.base, odd.layout.variant, odd.layout.condition;\n@layer odd.layout.base {\n .pagination {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--odd-space-sm);\n flex-wrap: wrap;\n min-inline-size: 0;\n justify-content: space-between;\n }\n .list {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--odd-space-xs);\n flex-wrap: wrap;\n min-inline-size: 0;\n }\n}\n');
|
|
5
|
+
//# sourceMappingURL=pagination.recipe.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.recipe.styles.js","sourceRoot":"","sources":["../../src/pagination/pagination.recipe.styles.ts"],"names":[],"mappings":"AAAA,yGAAyG;AACzG,iDAAiD;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,CAAC,MAAM,sBAAsB,GAAG,SAAS,CAC7C,ydAAyd,CAC1d,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The position text at the start and the controls at the end of one row, wrapping when narrow
|
|
3
|
-
* No brand or visual tokens.
|
|
2
|
+
* The position text at the start and the controls at the end of one row, wrapping when narrow:
|
|
3
|
+
* the layout recipe in `pagination.recipe.ts`. No brand or visual tokens.
|
|
4
4
|
*/
|
|
5
5
|
export declare const paginationStructuralStyles: import("@oddkin/core/styles").CSSResult;
|
|
6
6
|
//# sourceMappingURL=pagination.structural.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.structural.styles.d.ts","sourceRoot":"","sources":["../../src/pagination/pagination.structural.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pagination.structural.styles.d.ts","sourceRoot":"","sources":["../../src/pagination/pagination.structural.styles.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,0BAA0B,yCA8CtC,CAAC"}
|
|
@@ -1,26 +1,18 @@
|
|
|
1
1
|
import { css } from '@oddkin/core/styles';
|
|
2
|
+
import { paginationRecipeStyles } from './pagination.recipe.styles.js';
|
|
2
3
|
/**
|
|
3
|
-
* The position text at the start and the controls at the end of one row, wrapping when narrow
|
|
4
|
-
* No brand or visual tokens.
|
|
4
|
+
* The position text at the start and the controls at the end of one row, wrapping when narrow:
|
|
5
|
+
* the layout recipe in `pagination.recipe.ts`. No brand or visual tokens.
|
|
5
6
|
*/
|
|
6
7
|
export const paginationStructuralStyles = css `
|
|
8
|
+
${paginationRecipeStyles}
|
|
7
9
|
:host {
|
|
8
10
|
display: block;
|
|
9
11
|
}
|
|
10
|
-
.pagination {
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-wrap: wrap;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: space-between;
|
|
15
|
-
min-inline-size: 0;
|
|
16
|
-
}
|
|
17
12
|
.status {
|
|
18
13
|
margin: 0;
|
|
19
14
|
}
|
|
20
15
|
.list {
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-wrap: wrap;
|
|
23
|
-
align-items: center;
|
|
24
16
|
margin: 0;
|
|
25
17
|
padding: 0;
|
|
26
18
|
list-style: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.structural.styles.js","sourceRoot":"","sources":["../../src/pagination/pagination.structural.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"pagination.structural.styles.js","sourceRoot":"","sources":["../../src/pagination/pagination.structural.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,CAAA;IACzC,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.styles.d.ts","sourceRoot":"","sources":["../../src/pagination/pagination.styles.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"pagination.styles.d.ts","sourceRoot":"","sources":["../../src/pagination/pagination.styles.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,yCA8C5B,CAAC"}
|
|
@@ -7,7 +7,6 @@ import { token } from '@oddkin/tokens/refs';
|
|
|
7
7
|
*/
|
|
8
8
|
export const paginationStyles = css `
|
|
9
9
|
.pagination {
|
|
10
|
-
gap: ${token('space.sm')};
|
|
11
10
|
padding: ${token('space.xs')};
|
|
12
11
|
border-radius: var(--odd-pagination-radius, ${token('control.radius')});
|
|
13
12
|
background: ${token('color.surface.default')};
|
|
@@ -20,9 +19,6 @@ export const paginationStyles = css `
|
|
|
20
19
|
.status {
|
|
21
20
|
color: ${token('color.text.secondary')};
|
|
22
21
|
}
|
|
23
|
-
.list {
|
|
24
|
-
gap: ${token('space.xs')};
|
|
25
|
-
}
|
|
26
22
|
.tile {
|
|
27
23
|
min-inline-size: ${token('control.height.md')};
|
|
28
24
|
min-block-size: ${token('control.height.md')};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.styles.js","sourceRoot":"","sources":["../../src/pagination/pagination.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;
|
|
1
|
+
{"version":3,"file":"pagination.styles.js","sourceRoot":"","sources":["../../src/pagination/pagination.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;eAEpB,KAAK,CAAC,UAAU,CAAC;kDACkB,KAAK,CAAC,gBAAgB,CAAC;kBACvD,KAAK,CAAC,uBAAuB,CAAC;aACnC,KAAK,CAAC,oBAAoB,CAAC;mBACrB,KAAK,CAAC,gBAAgB,CAAC;iBACzB,KAAK,CAAC,cAAc,CAAC;mBACnB,KAAK,CAAC,gBAAgB,CAAC;mBACvB,KAAK,CAAC,qBAAqB,CAAC;;;aAGlC,KAAK,CAAC,sBAAsB,CAAC;;;uBAGnB,KAAK,CAAC,mBAAmB,CAAC;sBAC3B,KAAK,CAAC,mBAAmB,CAAC;sBAC1B,KAAK,CAAC,UAAU,CAAC;oBACnB,KAAK,CAAC,sBAAsB,CAAC;oBAC7B,KAAK,CAAC,sBAAsB,CAAC;qBAC5B,KAAK,CAAC,gBAAgB,CAAC;kBAC1B,KAAK,CAAC,uBAAuB,CAAC;aACnC,KAAK,CAAC,oBAAoB,CAAC;;;oBAGpB,KAAK,CAAC,qBAAqB,CAAC;iBAC/B,KAAK,CAAC,cAAc,CAAC;;;;kBAIpB,KAAK,CAAC,4BAA4B,CAAC;aACxC,KAAK,CAAC,4BAA4B,CAAC;;;;aAInC,KAAK,CAAC,qBAAqB,CAAC;;;aAG5B,KAAK,CAAC,sBAAsB,CAAC;iBACzB,KAAK,CAAC,cAAc,CAAC;;;;oBAIlB,KAAK,CAAC,qBAAqB,CAAC;;;CAG/C,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The control is a block; its label, description, and error use the shared field layout. The
|
|
3
|
-
* track
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* track is a row of equal columns, each at least as wide as its option's longest word, so an
|
|
4
|
+
* option's text wraps between words, never inside one (a control sized to its content gets room
|
|
5
|
+
* for its widest option in every column). Each segment stacks its radio, drawn as the segment's
|
|
6
|
+
* surface (`appearance: none`), under its text, which lets pointer events through to the radio.
|
|
7
|
+
* No brand tokens.
|
|
6
8
|
*/
|
|
7
9
|
export declare const segmentedControlStructuralStyles: import("@oddkin/core/styles").CSSResult;
|
|
8
10
|
//# sourceMappingURL=segmented-control.structural.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented-control.structural.styles.d.ts","sourceRoot":"","sources":["../../src/segmented-control/segmented-control.structural.styles.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"segmented-control.structural.styles.d.ts","sourceRoot":"","sources":["../../src/segmented-control/segmented-control.structural.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC,yCAkD5C,CAAC"}
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import { css } from '@oddkin/core/styles';
|
|
2
2
|
/**
|
|
3
3
|
* The control is a block; its label, description, and error use the shared field layout. The
|
|
4
|
-
* track
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* track is a row of equal columns, each at least as wide as its option's longest word, so an
|
|
5
|
+
* option's text wraps between words, never inside one (a control sized to its content gets room
|
|
6
|
+
* for its widest option in every column). Each segment stacks its radio, drawn as the segment's
|
|
7
|
+
* surface (`appearance: none`), under its text, which lets pointer events through to the radio.
|
|
8
|
+
* No brand tokens.
|
|
7
9
|
*/
|
|
8
10
|
export const segmentedControlStructuralStyles = css `
|
|
9
11
|
:host {
|
|
10
12
|
display: block;
|
|
11
13
|
}
|
|
12
14
|
.track {
|
|
13
|
-
display:
|
|
15
|
+
display: grid;
|
|
16
|
+
grid-auto-columns: 1fr;
|
|
17
|
+
grid-auto-flow: column;
|
|
14
18
|
}
|
|
15
19
|
.segment {
|
|
16
20
|
display: grid;
|
|
17
|
-
flex: 1 1 0;
|
|
18
|
-
min-inline-size: 0;
|
|
19
21
|
cursor: pointer;
|
|
20
22
|
}
|
|
21
23
|
.segment:has(:disabled) {
|
|
@@ -37,8 +39,8 @@ export const segmentedControlStructuralStyles = css `
|
|
|
37
39
|
display: flex;
|
|
38
40
|
align-items: center;
|
|
39
41
|
justify-content: center;
|
|
40
|
-
min-inline-size: 0;
|
|
41
42
|
text-align: center;
|
|
43
|
+
overflow-wrap: break-word;
|
|
42
44
|
pointer-events: none;
|
|
43
45
|
}
|
|
44
46
|
@media (forced-colors: active) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented-control.structural.styles.js","sourceRoot":"","sources":["../../src/segmented-control/segmented-control.structural.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAE1C
|
|
1
|
+
{"version":3,"file":"segmented-control.structural.styles.js","sourceRoot":"","sources":["../../src/segmented-control/segmented-control.structural.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAE1C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDlD,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The select is a block; its field layout is the shared `fieldStructuralStyles`. Where
|
|
3
3
|
* `appearance: base-select` and `::picker(select)` are supported, the select and its picker opt
|
|
4
|
-
* into the customizable select: the engine's arrow gives way to the element's chevron
|
|
5
|
-
* option's
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* into the customizable select: the engine's arrow gives way to the element's chevron, the chosen
|
|
5
|
+
* option's text stays in the middle of the field as in a native select (Chromium lays a
|
|
6
|
+
* `base-select` box's content at its top), and each option's check moves to the row's end, as on
|
|
7
|
+
* the option rows. Rows size their borders in; a placeholder stays out of the open picker; in
|
|
8
|
+
* forced colours the chosen option and disabled text keep system colours, as on the option rows.
|
|
9
|
+
* No brand tokens.
|
|
8
10
|
*/
|
|
9
11
|
export declare const selectStructuralStyles: import("@oddkin/core/styles").CSSResult;
|
|
10
12
|
//# sourceMappingURL=select.structural.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.structural.styles.d.ts","sourceRoot":"","sources":["../../src/select/select.structural.styles.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"select.structural.styles.d.ts","sourceRoot":"","sources":["../../src/select/select.structural.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,eAAO,MAAM,sBAAsB,yCAuClC,CAAC"}
|
|
@@ -2,10 +2,12 @@ import { css } from '@oddkin/core/styles';
|
|
|
2
2
|
/**
|
|
3
3
|
* The select is a block; its field layout is the shared `fieldStructuralStyles`. Where
|
|
4
4
|
* `appearance: base-select` and `::picker(select)` are supported, the select and its picker opt
|
|
5
|
-
* into the customizable select: the engine's arrow gives way to the element's chevron
|
|
6
|
-
* option's
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* into the customizable select: the engine's arrow gives way to the element's chevron, the chosen
|
|
6
|
+
* option's text stays in the middle of the field as in a native select (Chromium lays a
|
|
7
|
+
* `base-select` box's content at its top), and each option's check moves to the row's end, as on
|
|
8
|
+
* the option rows. Rows size their borders in; a placeholder stays out of the open picker; in
|
|
9
|
+
* forced colours the chosen option and disabled text keep system colours, as on the option rows.
|
|
10
|
+
* No brand tokens.
|
|
9
11
|
*/
|
|
10
12
|
export const selectStructuralStyles = css `
|
|
11
13
|
:host {
|
|
@@ -16,6 +18,9 @@ export const selectStructuralStyles = css `
|
|
|
16
18
|
.control::picker(select) {
|
|
17
19
|
appearance: base-select;
|
|
18
20
|
}
|
|
21
|
+
.control-box > select.control {
|
|
22
|
+
align-items: center;
|
|
23
|
+
}
|
|
19
24
|
.control option {
|
|
20
25
|
box-sizing: border-box;
|
|
21
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.structural.styles.js","sourceRoot":"","sources":["../../src/select/select.structural.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAE1C
|
|
1
|
+
{"version":3,"file":"select.structural.styles.js","sourceRoot":"","sources":["../../src/select/select.structural.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAE1C;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"side-nav.structural.styles.d.ts","sourceRoot":"","sources":["../../src/side-nav/side-nav.structural.styles.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"side-nav.structural.styles.d.ts","sourceRoot":"","sources":["../../src/side-nav/side-nav.structural.styles.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,yCA0BnC,CAAC"}
|
|
@@ -14,6 +14,7 @@ export const sideNavStructuralStyles = css `
|
|
|
14
14
|
list-style: none;
|
|
15
15
|
}
|
|
16
16
|
::slotted(a) {
|
|
17
|
+
position: relative;
|
|
17
18
|
box-sizing: border-box;
|
|
18
19
|
display: flex;
|
|
19
20
|
align-items: center;
|
|
@@ -21,9 +22,14 @@ export const sideNavStructuralStyles = css `
|
|
|
21
22
|
text-decoration: none;
|
|
22
23
|
overflow-wrap: anywhere;
|
|
23
24
|
}
|
|
25
|
+
::slotted(a[aria-current='page'])::before {
|
|
26
|
+
content: '';
|
|
27
|
+
position: absolute;
|
|
28
|
+
inset-inline-start: 0;
|
|
29
|
+
}
|
|
24
30
|
@media (forced-colors: active) {
|
|
25
|
-
.root ::slotted(a[aria-current='page']) {
|
|
26
|
-
|
|
31
|
+
.root ::slotted(a[aria-current='page'])::before {
|
|
32
|
+
background: Highlight;
|
|
27
33
|
}
|
|
28
34
|
}
|
|
29
35
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"side-nav.structural.styles.js","sourceRoot":"","sources":["../../src/side-nav/side-nav.structural.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAE1C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"side-nav.structural.styles.js","sourceRoot":"","sources":["../../src/side-nav/side-nav.structural.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAE1C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BzC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Oddkin's default visual styles for the side navigation, through `navigation.*` roles. Entry
|
|
3
|
-
* rows look as `navRowStyles` draws them; slotted native links take the same look here.
|
|
3
|
+
* rows look as `navRowStyles` draws them; slotted native links take the same look here. A size
|
|
4
|
+
* container reports no content width, so in a shrink-to-fit parent the host takes a sidebar's.
|
|
4
5
|
*/
|
|
5
6
|
export declare const sideNavStyles: import("@oddkin/core/styles").CSSResult;
|
|
6
7
|
//# sourceMappingURL=side-nav.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"side-nav.styles.d.ts","sourceRoot":"","sources":["../../src/side-nav/side-nav.styles.ts"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"side-nav.styles.d.ts","sourceRoot":"","sources":["../../src/side-nav/side-nav.styles.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,aAAa,yCA8DzB,CAAC"}
|