@rei/cedar 15.0.0-alpha.0 → 15.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdr-style.css +1 -0
- package/dist/cedar.umd.js +9 -9
- package/dist/component-docgen.json +1821 -1860
- package/dist/icon-component-docgen.json +623 -623
- package/dist/lib.d.ts +426 -263
- package/dist/src/components/abstract/styles/CdrAbstract.module.scss.mjs +3 -3
- package/dist/src/components/accordion/styles/CdrAccordion.module.scss.mjs +29 -29
- package/dist/src/components/accordion/styles/CdrAccordionGroup.module.scss.mjs +2 -2
- package/dist/src/components/banner/styles/CdrBanner.module.scss.mjs +14 -14
- package/dist/src/components/breadcrumb/styles/CdrBreadcrumb.module.scss.mjs +7 -7
- package/dist/src/components/button/CdrButton.vue2.mjs +16 -19
- package/dist/src/components/button/styles/CdrButton.module.scss.mjs +31 -31
- package/dist/src/components/caption/styles/CdrCaption.module.scss.mjs +2 -2
- package/dist/src/components/card/styles/CdrCard.module.scss.mjs +1 -1
- package/dist/src/components/checkbox/styles/CdrCheckbox.module.scss.mjs +29 -29
- package/dist/src/components/chip/styles/CdrChip.module.scss.mjs +4 -4
- package/dist/src/components/chip/styles/CdrChipGroup.module.scss.mjs +6 -6
- package/dist/src/components/choreographer/styles/CdrChoreographer.module.scss.mjs +4 -4
- package/dist/src/components/container/styles/CdrContainer.module.scss.mjs +4 -4
- package/dist/src/components/formError/styles/CdrFormError.module.scss.mjs +2 -2
- package/dist/src/components/formGroup/styles/CdrFormGroup.module.scss.mjs +8 -8
- package/dist/src/components/grid/styles/CdrGrid.module.scss.mjs +21 -21
- package/dist/src/components/icon/CdrIcon.vue2.mjs +6 -6
- package/dist/src/components/icon/styles/CdrIcon.module.scss.mjs +12 -12
- package/dist/src/components/image/styles/CdrImg.module.scss.mjs +3 -3
- package/dist/src/components/input/CdrInput.vue2.mjs +17 -18
- package/dist/src/components/input/styles/CdrInput.module.scss.mjs +32 -32
- package/dist/src/components/kicker/styles/CdrKicker.module.scss.mjs +3 -3
- package/dist/src/components/labelStandalone/styles/CdrLabelStandalone.module.scss.mjs +12 -12
- package/dist/src/components/labelWrapper/styles/CdrLabelWrapper.module.scss.mjs +27 -27
- package/dist/src/components/lead/CdrLead.vue2.mjs +15 -46
- package/dist/src/components/lead/{CdrHeadingSubheadingBlock.vue.mjs → compositions/landingLead/CdrHeadingSubheadingBlock.vue.mjs} +1 -1
- package/dist/src/components/lead/{CdrHeadingSubheadingBlock.vue2.mjs → compositions/landingLead/CdrHeadingSubheadingBlock.vue2.mjs} +5 -4
- package/dist/src/components/lead/compositions/landingLead/CdrLandingLead.vue.mjs +9 -0
- package/dist/src/components/lead/compositions/landingLead/CdrLandingLead.vue2.mjs +57 -0
- package/dist/src/components/lead/{styles → compositions/landingLead/styles}/CdrHeadingSubheadingBlock.module.scss.mjs +4 -4
- package/dist/src/components/lead/compositions/landingLead/styles/CdrLandingLead.module.scss.mjs +7 -0
- package/dist/src/components/lead/styles/CdrLead.module.scss.mjs +7 -8
- package/dist/src/components/link/styles/CdrLink.module.scss.mjs +5 -5
- package/dist/src/components/list/CdrList.vue2.mjs +8 -8
- package/dist/src/components/list/styles/CdrList.module.scss.mjs +7 -7
- package/dist/src/components/modal/styles/CdrModal.module.scss.mjs +14 -14
- package/dist/src/components/pagination/styles/CdrPagination.module.scss.mjs +55 -55
- package/dist/src/components/picture/styles/CdrPicture.module.scss.mjs +4 -3
- package/dist/src/components/popover/styles/CdrPopover.module.scss.mjs +65 -65
- package/dist/src/components/popup/styles/CdrPopup.module.scss.mjs +14 -14
- package/dist/src/components/quote/styles/CdrQuote.module.scss.mjs +4 -4
- package/dist/src/components/radio/styles/CdrRadio.module.scss.mjs +29 -29
- package/dist/src/components/rating/CdrRating.vue2.mjs +25 -29
- package/dist/src/components/rating/components/CdrStar00.vue2.mjs +14 -18
- package/dist/src/components/rating/components/CdrStar100.vue2.mjs +14 -18
- package/dist/src/components/rating/components/CdrStar25.vue2.mjs +18 -22
- package/dist/src/components/rating/components/CdrStar50.vue2.mjs +16 -20
- package/dist/src/components/rating/components/CdrStar75.vue2.mjs +17 -21
- package/dist/src/components/rating/components/CdrStarNull.vue2.mjs +18 -22
- package/dist/src/components/rating/styles/CdrRating.module.scss.mjs +46 -46
- package/dist/src/components/select/CdrSelect.vue2.mjs +20 -21
- package/dist/src/components/select/styles/CdrSelect.module.scss.mjs +44 -44
- package/dist/src/components/skeleton/styles/CdrSkeleton.module.scss.mjs +1 -1
- package/dist/src/components/skeleton/styles/CdrSkeletonBone.module.scss.mjs +7 -7
- package/dist/src/components/switch/styles/CdrSwitch.module.scss.mjs +10 -10
- package/dist/src/components/table/CdrTable.vue2.mjs +13 -17
- package/dist/src/components/table/styles/CdrTable.module.scss.mjs +15 -15
- package/dist/src/components/tabs/styles/CdrTabPanel.module.scss.mjs +7 -7
- package/dist/src/components/tabs/styles/CdrTabs.module.scss.mjs +30 -30
- package/dist/src/components/text/CdrText.vue2.mjs +7 -9
- package/dist/src/components/text/presets/CdrBody.vue2.mjs +13 -18
- package/dist/src/components/text/presets/CdrBody.vue3.mjs +1 -1
- package/dist/src/components/text/presets/CdrEyebrow.vue2.mjs +13 -9
- package/dist/src/components/text/presets/CdrEyebrow.vue3.mjs +1 -1
- package/dist/src/components/text/presets/CdrHeadingDisplay.vue2.mjs +12 -16
- package/dist/src/components/text/presets/CdrHeadingDisplay.vue3.mjs +1 -1
- package/dist/src/components/text/presets/CdrHeadingSans.vue2.mjs +12 -16
- package/dist/src/components/text/presets/CdrHeadingSans.vue3.mjs +1 -1
- package/dist/src/components/text/presets/CdrHeadingSerif.vue2.mjs +13 -18
- package/dist/src/components/text/presets/CdrHeadingSerif.vue3.mjs +1 -1
- package/dist/src/components/text/presets/CdrSubheadingSans.vue2.mjs +12 -16
- package/dist/src/components/text/presets/CdrSubheadingSans.vue3.mjs +1 -1
- package/dist/src/components/text/presets/CdrUtilitySans.vue2.mjs +13 -18
- package/dist/src/components/text/presets/CdrUtilitySans.vue3.mjs +1 -1
- package/dist/src/components/text/presets/CdrUtilitySerif.vue2.mjs +13 -18
- package/dist/src/components/text/presets/CdrUtilitySerif.vue3.mjs +1 -1
- package/dist/src/components/text/styles/CdrText.module.scss.mjs +1 -1
- package/dist/src/components/title/styles/CdrTitle.module.scss.mjs +1 -1
- package/dist/src/components/toast/styles/CdrToast.module.scss.mjs +57 -57
- package/dist/src/components/toggleButton/styles/CdrToggleButton.module.scss.mjs +2 -2
- package/dist/src/components/toggleButton/styles/CdrToggleGroup.module.scss.mjs +7 -7
- package/dist/src/components/tooltip/styles/CdrTooltip.module.scss.mjs +16 -16
- package/dist/src/lib.mjs +436 -434
- package/dist/style/cdr-abstract.css +1 -1
- package/dist/style/cdr-accordion-group.css +1 -1
- package/dist/style/cdr-accordion.css +1 -1
- package/dist/style/cdr-banner.css +1 -1
- package/dist/style/cdr-body.css +1 -1
- package/dist/style/cdr-breadcrumb.css +1 -1
- package/dist/style/cdr-button.css +1 -1
- package/dist/style/cdr-caption.css +1 -1
- package/dist/style/cdr-card.css +1 -1
- package/dist/style/cdr-checkbox.css +1 -1
- package/dist/style/cdr-chip-group.css +1 -1
- package/dist/style/cdr-chip.css +1 -1
- package/dist/style/cdr-choreographer.css +1 -1
- package/dist/style/cdr-container.css +1 -1
- package/dist/style/cdr-eyebrow.css +1 -1
- package/dist/style/cdr-form-error.css +1 -1
- package/dist/style/cdr-form-group.css +1 -1
- package/dist/style/cdr-grid.css +1 -1
- package/dist/style/cdr-heading-display.css +1 -1
- package/dist/style/cdr-heading-sans.css +1 -1
- package/dist/style/cdr-heading-serif.css +1 -1
- package/dist/style/cdr-heading-subheading-block.css +1 -1
- package/dist/style/cdr-icon.css +1 -1
- package/dist/style/cdr-img.css +1 -1
- package/dist/style/cdr-input.css +1 -1
- package/dist/style/cdr-kicker.css +1 -1
- package/dist/style/cdr-label-standalone.css +1 -1
- package/dist/style/cdr-label-wrapper.css +1 -1
- package/dist/style/cdr-landing-lead.css +1 -0
- package/dist/style/cdr-lead.css +1 -1
- package/dist/style/cdr-link.css +1 -1
- package/dist/style/cdr-list.css +1 -1
- package/dist/style/cdr-modal.css +1 -1
- package/dist/style/cdr-pagination.css +1 -1
- package/dist/style/cdr-picture.css +1 -1
- package/dist/style/cdr-popover.css +1 -1
- package/dist/style/cdr-popup.css +1 -1
- package/dist/style/cdr-quote.css +1 -1
- package/dist/style/cdr-radio.css +1 -1
- package/dist/style/cdr-rating.css +1 -1
- package/dist/style/cdr-select.css +1 -1
- package/dist/style/cdr-skeleton-bone.css +1 -1
- package/dist/style/cdr-skeleton.css +1 -1
- package/dist/style/cdr-subheading-sans.css +1 -1
- package/dist/style/cdr-switch.css +1 -1
- package/dist/style/cdr-tab-panel.css +1 -1
- package/dist/style/cdr-table.css +1 -1
- package/dist/style/cdr-tabs.css +1 -1
- package/dist/style/cdr-text.css +1 -1
- package/dist/style/cdr-title.css +1 -1
- package/dist/style/cdr-toast.css +1 -1
- package/dist/style/cdr-toggle-button.css +1 -1
- package/dist/style/cdr-toggle-group.css +1 -1
- package/dist/style/cdr-tooltip.css +1 -1
- package/dist/style/cdr-utility-sans.css +1 -1
- package/dist/style/cdr-utility-serif.css +1 -1
- package/package.json +9 -9
- package/dist/style.css +0 -1
- /package/dist/{reset.css → cdr-reset.css} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as c, useCssModule as m, computed as l, openBlock as v, createElementBlock as C, normalizeClass as b, unref as o, createElementVNode as h, mergeProps as B, renderSlot as $ } from "vue";
|
|
2
2
|
import y from "../../utils/mapClasses.mjs";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const s = "cdr-table",
|
|
3
|
+
import z from "../../props/size.mjs";
|
|
4
|
+
import { buildBooleanClass as W } from "../../utils/buildClass.mjs";
|
|
5
|
+
const s = "cdr-table", P = /* @__PURE__ */ c({
|
|
6
6
|
name: "CdrTable",
|
|
7
7
|
__name: "CdrTable",
|
|
8
8
|
props: {
|
|
@@ -38,21 +38,17 @@ const s = "cdr-table", E = /* @__PURE__ */ f({
|
|
|
38
38
|
* @demoSelectMultiple false
|
|
39
39
|
* @values small, medium, large
|
|
40
40
|
*/
|
|
41
|
-
size:
|
|
42
|
-
type: String,
|
|
43
|
-
default: "medium",
|
|
44
|
-
validator: (t) => g(t, ["small", "medium", "large"])
|
|
45
|
-
}
|
|
41
|
+
size: z
|
|
46
42
|
},
|
|
47
|
-
setup(
|
|
48
|
-
const e =
|
|
49
|
-
return (
|
|
50
|
-
class: b(o(
|
|
51
|
-
}, [h("table", B(
|
|
52
|
-
class: o(y)(o(
|
|
53
|
-
}), [$(
|
|
43
|
+
setup(a) {
|
|
44
|
+
const e = a, t = m(), n = l(() => e.size ? `${s}--${e.size}` : ""), d = l(() => e.striped ? `${s}--striped` : ""), p = l(() => e.hover ? `${s}--hover` : ""), u = l(() => e.border && !e.striped ? `${s}--border` : ""), i = l(() => e.fullWidth ? W(s, e.fullWidth, "full-width") : ""), f = l(() => e.responsive ? `${s}--responsive` : "");
|
|
45
|
+
return (r, _) => (v(), C("div", {
|
|
46
|
+
class: b(o(t)[f.value])
|
|
47
|
+
}, [h("table", B(r.$attrs, {
|
|
48
|
+
class: o(y)(o(t), s, n.value, d.value, p.value, u.value, i.value)
|
|
49
|
+
}), [$(r.$slots, "default")], 16)], 2));
|
|
54
50
|
}
|
|
55
51
|
});
|
|
56
52
|
export {
|
|
57
|
-
|
|
53
|
+
P as default
|
|
58
54
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
const
|
|
2
|
-
"cdr-table": "cdr-table_15-0-0-
|
|
3
|
-
"cdr-table--small": "cdr-table--small_15-0-0-
|
|
4
|
-
"cdr-table--medium": "cdr-table--medium_15-0-0-
|
|
5
|
-
"cdr-table--large": "cdr-table--large_15-0-0-
|
|
6
|
-
"cdr-table--striped": "cdr-table--striped_15-0-0-
|
|
7
|
-
"cdr-table--border": "cdr-table--border_15-0-0-
|
|
8
|
-
"cdr-table--full-width": "cdr-table--full-width_15-0-0-
|
|
9
|
-
"cdr-table--responsive": "cdr-table--responsive_15-0-0-
|
|
10
|
-
"cdr-table--hover": "cdr-table--hover_15-0-0-
|
|
11
|
-
"cdr-table--full-width@xs": "cdr-table--full-width@xs_15-0-0-
|
|
12
|
-
"cdr-table--full-width@sm": "cdr-table--full-width@sm_15-0-0-
|
|
13
|
-
"cdr-table--full-width@md": "cdr-table--full-width@md_15-0-0-
|
|
14
|
-
"cdr-table--full-width@lg": "cdr-table--full-width@lg_15-0-0-
|
|
1
|
+
const e = {
|
|
2
|
+
"cdr-table": "cdr-table_15-0-0-beta-0",
|
|
3
|
+
"cdr-table--small": "cdr-table--small_15-0-0-beta-0",
|
|
4
|
+
"cdr-table--medium": "cdr-table--medium_15-0-0-beta-0",
|
|
5
|
+
"cdr-table--large": "cdr-table--large_15-0-0-beta-0",
|
|
6
|
+
"cdr-table--striped": "cdr-table--striped_15-0-0-beta-0",
|
|
7
|
+
"cdr-table--border": "cdr-table--border_15-0-0-beta-0",
|
|
8
|
+
"cdr-table--full-width": "cdr-table--full-width_15-0-0-beta-0",
|
|
9
|
+
"cdr-table--responsive": "cdr-table--responsive_15-0-0-beta-0",
|
|
10
|
+
"cdr-table--hover": "cdr-table--hover_15-0-0-beta-0",
|
|
11
|
+
"cdr-table--full-width@xs": "cdr-table--full-width@xs_15-0-0-beta-0",
|
|
12
|
+
"cdr-table--full-width@sm": "cdr-table--full-width@sm_15-0-0-beta-0",
|
|
13
|
+
"cdr-table--full-width@md": "cdr-table--full-width@md_15-0-0-beta-0",
|
|
14
|
+
"cdr-table--full-width@lg": "cdr-table--full-width@lg_15-0-0-beta-0"
|
|
15
15
|
};
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
e as default
|
|
18
18
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
"cdr-tab-panel": "cdr-tab-panel_15-0-0-
|
|
3
|
-
"cdr-tab-panel-enter-left": "cdr-tab-panel-enter-left_15-0-0-
|
|
4
|
-
"cdr-tab-panel-enter-right": "cdr-tab-panel-enter-right_15-0-0-
|
|
5
|
-
"cdr-tab-panel-exit-left": "cdr-tab-panel-exit-left_15-0-0-
|
|
6
|
-
"cdr-tab-panel-exit-right": "cdr-tab-panel-exit-right_15-0-0-
|
|
1
|
+
const t = {
|
|
2
|
+
"cdr-tab-panel": "cdr-tab-panel_15-0-0-beta-0",
|
|
3
|
+
"cdr-tab-panel-enter-left": "cdr-tab-panel-enter-left_15-0-0-beta-0",
|
|
4
|
+
"cdr-tab-panel-enter-right": "cdr-tab-panel-enter-right_15-0-0-beta-0",
|
|
5
|
+
"cdr-tab-panel-exit-left": "cdr-tab-panel-exit-left_15-0-0-beta-0",
|
|
6
|
+
"cdr-tab-panel-exit-right": "cdr-tab-panel-exit-right_15-0-0-beta-0"
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
t as default
|
|
10
10
|
};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
const
|
|
2
|
-
"cdr-tab-panel": "cdr-tab-panel_15-0-0-
|
|
3
|
-
"cdr-tab-panel-enter-left": "cdr-tab-panel-enter-left_15-0-0-
|
|
4
|
-
"cdr-tab-panel-enter-right": "cdr-tab-panel-enter-right_15-0-0-
|
|
5
|
-
"cdr-tab-panel-exit-left": "cdr-tab-panel-exit-left_15-0-0-
|
|
6
|
-
"cdr-tab-panel-exit-right": "cdr-tab-panel-exit-right_15-0-0-
|
|
7
|
-
"cdr-tabs": "cdr-tabs_15-0-0-
|
|
8
|
-
"cdr-tabs__header-container": "cdr-tabs__header-container_15-0-0-
|
|
9
|
-
"cdr-tabs__header": "cdr-tabs__header_15-0-0-
|
|
10
|
-
"cdr-tabs__header-item": "cdr-tabs__header-item_15-0-0-
|
|
11
|
-
"cdr-tabs__header-item-active": "cdr-tabs__header-item-active_15-0-0-
|
|
12
|
-
"cdr-tabs__header-item--disabled": "cdr-tabs__header-item--disabled_15-0-0-
|
|
13
|
-
"cdr-tabs__gradient-container": "cdr-tabs__gradient-container_15-0-0-
|
|
14
|
-
"cdr-tabs__gradient": "cdr-tabs__gradient_15-0-0-
|
|
15
|
-
"cdr-tabs__gradient--left": "cdr-tabs__gradient--left_15-0-0-
|
|
16
|
-
"cdr-tabs__gradient--right": "cdr-tabs__gradient--right_15-0-0-
|
|
17
|
-
"cdr-tabs__gradient--active": "cdr-tabs__gradient--active_15-0-0-
|
|
18
|
-
"cdr-tabs__underline": "cdr-tabs__underline_15-0-0-
|
|
19
|
-
"cdr-tabs__content-container": "cdr-tabs__content-container_15-0-0-
|
|
20
|
-
"fade-enter-active": "fade-enter-active_15-0-0-
|
|
21
|
-
"fade-leave-active": "fade-leave-active_15-0-0-
|
|
22
|
-
"fade-enter": "fade-enter_15-0-0-
|
|
23
|
-
"fade-leave-to": "fade-leave-to_15-0-0-
|
|
24
|
-
"cdr-tabs--compact": "cdr-tabs--compact_15-0-0-
|
|
25
|
-
"cdr-tabs__header-item-label": "cdr-tabs__header-item-label_15-0-0-
|
|
26
|
-
"cdr-tabs--small": "cdr-tabs--small_15-0-0-
|
|
27
|
-
"cdr-tabs--no-border": "cdr-tabs--no-border_15-0-0-
|
|
28
|
-
"cdr-tabs--full-width": "cdr-tabs--full-width_15-0-0-
|
|
29
|
-
"cdr-tabs--centered": "cdr-tabs--centered_15-0-0-
|
|
1
|
+
const e = {
|
|
2
|
+
"cdr-tab-panel": "cdr-tab-panel_15-0-0-beta-0",
|
|
3
|
+
"cdr-tab-panel-enter-left": "cdr-tab-panel-enter-left_15-0-0-beta-0",
|
|
4
|
+
"cdr-tab-panel-enter-right": "cdr-tab-panel-enter-right_15-0-0-beta-0",
|
|
5
|
+
"cdr-tab-panel-exit-left": "cdr-tab-panel-exit-left_15-0-0-beta-0",
|
|
6
|
+
"cdr-tab-panel-exit-right": "cdr-tab-panel-exit-right_15-0-0-beta-0",
|
|
7
|
+
"cdr-tabs": "cdr-tabs_15-0-0-beta-0",
|
|
8
|
+
"cdr-tabs__header-container": "cdr-tabs__header-container_15-0-0-beta-0",
|
|
9
|
+
"cdr-tabs__header": "cdr-tabs__header_15-0-0-beta-0",
|
|
10
|
+
"cdr-tabs__header-item": "cdr-tabs__header-item_15-0-0-beta-0",
|
|
11
|
+
"cdr-tabs__header-item-active": "cdr-tabs__header-item-active_15-0-0-beta-0",
|
|
12
|
+
"cdr-tabs__header-item--disabled": "cdr-tabs__header-item--disabled_15-0-0-beta-0",
|
|
13
|
+
"cdr-tabs__gradient-container": "cdr-tabs__gradient-container_15-0-0-beta-0",
|
|
14
|
+
"cdr-tabs__gradient": "cdr-tabs__gradient_15-0-0-beta-0",
|
|
15
|
+
"cdr-tabs__gradient--left": "cdr-tabs__gradient--left_15-0-0-beta-0",
|
|
16
|
+
"cdr-tabs__gradient--right": "cdr-tabs__gradient--right_15-0-0-beta-0",
|
|
17
|
+
"cdr-tabs__gradient--active": "cdr-tabs__gradient--active_15-0-0-beta-0",
|
|
18
|
+
"cdr-tabs__underline": "cdr-tabs__underline_15-0-0-beta-0",
|
|
19
|
+
"cdr-tabs__content-container": "cdr-tabs__content-container_15-0-0-beta-0",
|
|
20
|
+
"fade-enter-active": "fade-enter-active_15-0-0-beta-0",
|
|
21
|
+
"fade-leave-active": "fade-leave-active_15-0-0-beta-0",
|
|
22
|
+
"fade-enter": "fade-enter_15-0-0-beta-0",
|
|
23
|
+
"fade-leave-to": "fade-leave-to_15-0-0-beta-0",
|
|
24
|
+
"cdr-tabs--compact": "cdr-tabs--compact_15-0-0-beta-0",
|
|
25
|
+
"cdr-tabs__header-item-label": "cdr-tabs__header-item-label_15-0-0-beta-0",
|
|
26
|
+
"cdr-tabs--small": "cdr-tabs--small_15-0-0-beta-0",
|
|
27
|
+
"cdr-tabs--no-border": "cdr-tabs--no-border_15-0-0-beta-0",
|
|
28
|
+
"cdr-tabs--full-width": "cdr-tabs--full-width_15-0-0-beta-0",
|
|
29
|
+
"cdr-tabs--centered": "cdr-tabs--centered_15-0-0-beta-0"
|
|
30
30
|
};
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
e as default
|
|
33
33
|
};
|
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as s, useCssModule as o, openBlock as r, createBlock as a, resolveDynamicComponent as n, normalizeClass as l, unref as c, withCtx as p, renderSlot as d } from "vue";
|
|
2
|
+
const C = /* @__PURE__ */ s({
|
|
3
3
|
name: "CdrText",
|
|
4
4
|
__name: "CdrText",
|
|
5
5
|
props: {
|
|
6
|
-
/** Sets the HTML tag (p, span, h1, h2, etc) */
|
|
7
6
|
tag: {
|
|
8
|
-
type: String,
|
|
9
7
|
default: "p"
|
|
10
8
|
}
|
|
11
9
|
},
|
|
12
|
-
setup(
|
|
10
|
+
setup(u) {
|
|
13
11
|
const t = o();
|
|
14
|
-
return (
|
|
15
|
-
class: c(
|
|
12
|
+
return (e, m) => (r(), a(n(e.tag), {
|
|
13
|
+
class: l(c(t)["cdr-text"])
|
|
16
14
|
}, {
|
|
17
|
-
default: p(() => [
|
|
15
|
+
default: p(() => [d(e.$slots, "default")]),
|
|
18
16
|
_: 3
|
|
19
17
|
}, 8, ["class"]));
|
|
20
18
|
}
|
|
21
19
|
});
|
|
22
20
|
export {
|
|
23
|
-
|
|
21
|
+
C as default
|
|
24
22
|
};
|
|
@@ -1,39 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
3
|
-
const C = "cdr-body", _ = /* @__PURE__ */ a({
|
|
1
|
+
import { defineComponent as r, computed as l, useCssModule as n, openBlock as c, createBlock as d, resolveDynamicComponent as p, normalizeClass as y, unref as i, normalizeStyle as u, withCtx as f, renderSlot as m } from "vue";
|
|
2
|
+
const C = "cdr-body", b = /* @__PURE__ */ r({
|
|
4
3
|
name: "CdrBody",
|
|
5
4
|
__name: "CdrBody",
|
|
6
5
|
props: {
|
|
7
|
-
/**
|
|
8
|
-
* Sets the type scale
|
|
9
|
-
* @type scaleValue
|
|
10
|
-
* @values '0', '1'
|
|
11
|
-
*/
|
|
12
6
|
scale: {
|
|
13
|
-
type: String,
|
|
14
7
|
default: "0"
|
|
15
8
|
},
|
|
16
|
-
/** Toggles the strong variant */
|
|
17
9
|
strong: {
|
|
18
10
|
type: Boolean,
|
|
19
11
|
default: !1
|
|
12
|
+
},
|
|
13
|
+
tag: {
|
|
14
|
+
default: "p"
|
|
20
15
|
}
|
|
21
16
|
},
|
|
22
|
-
setup(
|
|
23
|
-
const e =
|
|
17
|
+
setup(o) {
|
|
18
|
+
const e = o, s = l(() => ({
|
|
24
19
|
"--cdr-body-font-size": `var(--cdr-type-scale-${e.scale})`,
|
|
25
20
|
"--cdr-body-line-height": `calc(var(--cdr-type-scale-${e.scale}) * var(--cdr-body-line-height-ratio))`,
|
|
26
21
|
"--cdr-body-font-weight": e.strong ? "600" : "400"
|
|
27
|
-
})),
|
|
28
|
-
return (
|
|
29
|
-
class:
|
|
30
|
-
style:
|
|
22
|
+
})), a = n();
|
|
23
|
+
return (t, g) => (c(), d(p(t.tag), {
|
|
24
|
+
class: y(i(a)[C]),
|
|
25
|
+
style: u(s.value)
|
|
31
26
|
}, {
|
|
32
|
-
default:
|
|
27
|
+
default: f(() => [m(t.$slots, "default")]),
|
|
33
28
|
_: 3
|
|
34
29
|
}, 8, ["class", "style"]));
|
|
35
30
|
}
|
|
36
31
|
});
|
|
37
32
|
export {
|
|
38
|
-
|
|
33
|
+
b as default
|
|
39
34
|
};
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
3
|
-
const u = "cdr-eyebrow", i = /* @__PURE__ */ s({
|
|
1
|
+
import { defineComponent as o, useCssModule as r, openBlock as t, createBlock as a, resolveDynamicComponent as n, normalizeClass as l, unref as c, withCtx as p, renderSlot as d } from "vue";
|
|
2
|
+
const u = "cdr-eyebrow", _ = /* @__PURE__ */ o({
|
|
4
3
|
name: "CdrEyebrow",
|
|
5
4
|
__name: "CdrEyebrow",
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
props: {
|
|
6
|
+
tag: {
|
|
7
|
+
default: "span"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
setup(m) {
|
|
11
|
+
const s = r();
|
|
12
|
+
return (e, f) => (t(), a(n(e.tag), {
|
|
13
|
+
class: l(c(s)[u])
|
|
10
14
|
}, {
|
|
11
|
-
default:
|
|
15
|
+
default: p(() => [d(e.$slots, "default")]),
|
|
12
16
|
_: 3
|
|
13
17
|
}, 8, ["class"]));
|
|
14
18
|
}
|
|
15
19
|
});
|
|
16
20
|
export {
|
|
17
|
-
|
|
21
|
+
_ as default
|
|
18
22
|
};
|
|
@@ -1,29 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
3
|
-
const h = "cdr-heading-display", v = /* @__PURE__ */ l({
|
|
1
|
+
import { defineComponent as r, computed as n, useCssModule as c, openBlock as d, createBlock as o, resolveDynamicComponent as i, normalizeClass as p, unref as u, normalizeStyle as y, withCtx as h, renderSlot as m } from "vue";
|
|
2
|
+
const f = "cdr-heading-display", v = /* @__PURE__ */ r({
|
|
4
3
|
name: "CdrHeadingDisplay",
|
|
5
4
|
__name: "CdrHeadingDisplay",
|
|
6
5
|
props: {
|
|
7
|
-
/**
|
|
8
|
-
* Sets the type scale
|
|
9
|
-
* @type scaleValue
|
|
10
|
-
* @values '2', '3', '4', '5', '6', '7'
|
|
11
|
-
*/
|
|
12
6
|
scale: {
|
|
13
|
-
type: String,
|
|
14
7
|
default: "7"
|
|
8
|
+
},
|
|
9
|
+
tag: {
|
|
10
|
+
default: "h1"
|
|
15
11
|
}
|
|
16
12
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const e =
|
|
13
|
+
setup(s) {
|
|
14
|
+
const e = s, t = n(() => ({
|
|
19
15
|
"--cdr-heading-display-font-size": `var(--cdr-type-scale-${e.scale})`,
|
|
20
16
|
"--cdr-heading-display-line-height": `calc(var(--cdr-type-scale-${e.scale}) * var(--cdr-heading-display-line-height-ratio))`
|
|
21
|
-
})),
|
|
22
|
-
return (
|
|
23
|
-
class:
|
|
24
|
-
style: y(
|
|
17
|
+
})), l = c();
|
|
18
|
+
return (a, g) => (d(), o(i(a.tag), {
|
|
19
|
+
class: p(u(l)[f]),
|
|
20
|
+
style: y(t.value)
|
|
25
21
|
}, {
|
|
26
|
-
default:
|
|
22
|
+
default: h(() => [m(a.$slots, "default")]),
|
|
27
23
|
_: 3
|
|
28
24
|
}, 8, ["class", "style"]));
|
|
29
25
|
}
|
|
@@ -1,33 +1,29 @@
|
|
|
1
|
-
import { defineComponent as r, computed as l, useCssModule as c, openBlock as o, createBlock as d,
|
|
2
|
-
|
|
3
|
-
const g = "cdr-heading-sans", S = /* @__PURE__ */ r({
|
|
1
|
+
import { defineComponent as r, computed as l, useCssModule as c, openBlock as o, createBlock as d, resolveDynamicComponent as i, normalizeClass as p, unref as u, normalizeStyle as h, withCtx as m, renderSlot as f } from "vue";
|
|
2
|
+
const g = "cdr-heading-sans", v = /* @__PURE__ */ r({
|
|
4
3
|
name: "CdrHeadingSans",
|
|
5
4
|
__name: "CdrHeadingSans",
|
|
6
5
|
props: {
|
|
7
|
-
/**
|
|
8
|
-
* Sets the type scale
|
|
9
|
-
* @type scaleValue
|
|
10
|
-
* @values '1', '2', '3'
|
|
11
|
-
*/
|
|
12
6
|
scale: {
|
|
13
|
-
type: String,
|
|
14
7
|
default: "3"
|
|
8
|
+
},
|
|
9
|
+
tag: {
|
|
10
|
+
default: "h2"
|
|
15
11
|
}
|
|
16
12
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const e =
|
|
13
|
+
setup(a) {
|
|
14
|
+
const e = a, n = l(() => ({
|
|
19
15
|
"--cdr-heading-sans-font-size": `var(--cdr-type-scale-${e.scale})`,
|
|
20
16
|
"--cdr-heading-sans-line-height": `calc(var(--cdr-type-scale-${e.scale}) * var(--cdr-heading-sans-line-height-ratio))`
|
|
21
17
|
})), t = c();
|
|
22
|
-
return (
|
|
23
|
-
class:
|
|
24
|
-
style:
|
|
18
|
+
return (s, y) => (o(), d(i(s.tag), {
|
|
19
|
+
class: p(u(t)[g]),
|
|
20
|
+
style: h(n.value)
|
|
25
21
|
}, {
|
|
26
|
-
default: m(() => [f(
|
|
22
|
+
default: m(() => [f(s.$slots, "default")]),
|
|
27
23
|
_: 3
|
|
28
24
|
}, 8, ["class", "style"]));
|
|
29
25
|
}
|
|
30
26
|
});
|
|
31
27
|
export {
|
|
32
|
-
|
|
28
|
+
v as default
|
|
33
29
|
};
|
|
@@ -1,39 +1,34 @@
|
|
|
1
|
-
import { defineComponent as n, computed as l, useCssModule as o, openBlock as i, createBlock as c,
|
|
2
|
-
|
|
3
|
-
const m = "cdr-heading-serif", S = /* @__PURE__ */ n({
|
|
1
|
+
import { defineComponent as n, computed as l, useCssModule as o, openBlock as i, createBlock as c, resolveDynamicComponent as d, normalizeClass as f, unref as p, normalizeStyle as u, withCtx as g, renderSlot as h } from "vue";
|
|
2
|
+
const m = "cdr-heading-serif", v = /* @__PURE__ */ n({
|
|
4
3
|
name: "CdrHeadingSerif",
|
|
5
4
|
__name: "CdrHeadingSerif",
|
|
6
5
|
props: {
|
|
7
|
-
/**
|
|
8
|
-
* Sets the type scale
|
|
9
|
-
* @type scaleValue
|
|
10
|
-
* @values '1', '2', '3', '4', '5'
|
|
11
|
-
*/
|
|
12
6
|
scale: {
|
|
13
|
-
type: String,
|
|
14
7
|
default: "5"
|
|
15
8
|
},
|
|
16
|
-
/** Toggles the strong variant */
|
|
17
9
|
strong: {
|
|
18
10
|
type: Boolean,
|
|
19
11
|
default: !1
|
|
12
|
+
},
|
|
13
|
+
tag: {
|
|
14
|
+
default: "h1"
|
|
20
15
|
}
|
|
21
16
|
},
|
|
22
|
-
setup(
|
|
23
|
-
const e =
|
|
17
|
+
setup(t) {
|
|
18
|
+
const e = t, a = l(() => ({
|
|
24
19
|
"--cdr-heading-serif-font-size": `var(--cdr-type-scale-${e.scale})`,
|
|
25
20
|
"--cdr-heading-serif-line-height": `calc(var(--cdr-type-scale-${e.scale}) * var(--cdr-heading-serif-line-height-ratio))`,
|
|
26
21
|
"--cdr-heading-serif-font-weight": e.strong ? "600" : "400"
|
|
27
|
-
})),
|
|
28
|
-
return (
|
|
29
|
-
class:
|
|
30
|
-
style:
|
|
22
|
+
})), r = o();
|
|
23
|
+
return (s, y) => (i(), c(d(s.tag), {
|
|
24
|
+
class: f(p(r)[m]),
|
|
25
|
+
style: u(a.value)
|
|
31
26
|
}, {
|
|
32
|
-
default:
|
|
27
|
+
default: g(() => [h(s.$slots, "default")]),
|
|
33
28
|
_: 3
|
|
34
29
|
}, 8, ["class", "style"]));
|
|
35
30
|
}
|
|
36
31
|
});
|
|
37
32
|
export {
|
|
38
|
-
|
|
33
|
+
v as default
|
|
39
34
|
};
|
|
@@ -1,33 +1,29 @@
|
|
|
1
|
-
import { defineComponent as r, computed as l, useCssModule as c, openBlock as o, createBlock as d,
|
|
2
|
-
|
|
3
|
-
const g = "cdr-subheading-sans", S = /* @__PURE__ */ r({
|
|
1
|
+
import { defineComponent as r, computed as l, useCssModule as c, openBlock as o, createBlock as d, resolveDynamicComponent as i, normalizeClass as u, unref as p, normalizeStyle as h, withCtx as m, renderSlot as f } from "vue";
|
|
2
|
+
const g = "cdr-subheading-sans", b = /* @__PURE__ */ r({
|
|
4
3
|
name: "CdrSubheadingSans",
|
|
5
4
|
__name: "CdrSubheadingSans",
|
|
6
5
|
props: {
|
|
7
|
-
/**
|
|
8
|
-
* Sets the type scale
|
|
9
|
-
* @type scaleValue
|
|
10
|
-
* @values '0', '1', '2'
|
|
11
|
-
*/
|
|
12
6
|
scale: {
|
|
13
|
-
type: String,
|
|
14
7
|
default: "1"
|
|
8
|
+
},
|
|
9
|
+
tag: {
|
|
10
|
+
default: "p"
|
|
15
11
|
}
|
|
16
12
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const e =
|
|
13
|
+
setup(a) {
|
|
14
|
+
const e = a, n = l(() => ({
|
|
19
15
|
"--cdr-subheading-sans-font-size": `var(--cdr-type-scale-${e.scale})`,
|
|
20
16
|
"--cdr-subheading-sans-line-height": `calc(var(--cdr-type-scale-${e.scale}) * var(--cdr-subheading-sans-line-height-ratio))`
|
|
21
17
|
})), t = c();
|
|
22
|
-
return (
|
|
23
|
-
class:
|
|
24
|
-
style:
|
|
18
|
+
return (s, y) => (o(), d(i(s.tag), {
|
|
19
|
+
class: u(p(t)[g]),
|
|
20
|
+
style: h(n.value)
|
|
25
21
|
}, {
|
|
26
|
-
default:
|
|
22
|
+
default: m(() => [f(s.$slots, "default")]),
|
|
27
23
|
_: 3
|
|
28
24
|
}, 8, ["class", "style"]));
|
|
29
25
|
}
|
|
30
26
|
});
|
|
31
27
|
export {
|
|
32
|
-
|
|
28
|
+
b as default
|
|
33
29
|
};
|
|
@@ -1,39 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
3
|
-
const C = "cdr-utility-sans", S = /* @__PURE__ */ r({
|
|
1
|
+
import { defineComponent as n, computed as r, useCssModule as o, openBlock as i, createBlock as c, resolveDynamicComponent as u, normalizeClass as d, unref as p, normalizeStyle as y, withCtx as f, renderSlot as m } from "vue";
|
|
2
|
+
const C = "cdr-utility-sans", v = /* @__PURE__ */ n({
|
|
4
3
|
name: "CdrUtilitySans",
|
|
5
4
|
__name: "CdrUtilitySans",
|
|
6
5
|
props: {
|
|
7
|
-
/**
|
|
8
|
-
* Sets the type scale
|
|
9
|
-
* @type scaleValue
|
|
10
|
-
* @values '-1','0','1','2','3'
|
|
11
|
-
*/
|
|
12
6
|
scale: {
|
|
13
|
-
type: String,
|
|
14
7
|
default: "1"
|
|
15
8
|
},
|
|
16
|
-
/** Toggles the strong variant */
|
|
17
9
|
strong: {
|
|
18
10
|
type: Boolean,
|
|
19
11
|
default: !1
|
|
12
|
+
},
|
|
13
|
+
tag: {
|
|
14
|
+
default: "p"
|
|
20
15
|
}
|
|
21
16
|
},
|
|
22
|
-
setup(
|
|
23
|
-
const t =
|
|
17
|
+
setup(s) {
|
|
18
|
+
const t = s, a = r(() => ({
|
|
24
19
|
"--cdr-utility-sans-font-size": `var(--cdr-type-scale-${t.scale})`,
|
|
25
20
|
"--cdr-utility-sans-line-height": `calc(var(--cdr-type-scale-${t.scale}) * var(--cdr-utility-sans-line-height-ratio))`,
|
|
26
21
|
"--cdr-utility-sans-font-weight": t.strong ? "600" : "400"
|
|
27
|
-
})),
|
|
28
|
-
return (
|
|
29
|
-
class: d(
|
|
30
|
-
style:
|
|
22
|
+
})), l = o();
|
|
23
|
+
return (e, g) => (i(), c(u(e.tag), {
|
|
24
|
+
class: d(p(l)[C]),
|
|
25
|
+
style: y(a.value)
|
|
31
26
|
}, {
|
|
32
|
-
default:
|
|
27
|
+
default: f(() => [m(e.$slots, "default")]),
|
|
33
28
|
_: 3
|
|
34
29
|
}, 8, ["class", "style"]));
|
|
35
30
|
}
|
|
36
31
|
});
|
|
37
32
|
export {
|
|
38
|
-
|
|
33
|
+
v as default
|
|
39
34
|
};
|
|
@@ -1,39 +1,34 @@
|
|
|
1
|
-
import { defineComponent as i, computed as a, useCssModule as o, openBlock as
|
|
2
|
-
|
|
3
|
-
const C = "cdr-utility-serif", S = /* @__PURE__ */ i({
|
|
1
|
+
import { defineComponent as i, computed as a, useCssModule as o, openBlock as n, createBlock as c, resolveDynamicComponent as f, normalizeClass as u, unref as d, normalizeStyle as p, withCtx as y, renderSlot as m } from "vue";
|
|
2
|
+
const C = "cdr-utility-serif", v = /* @__PURE__ */ i({
|
|
4
3
|
name: "CdrUtilitySerif",
|
|
5
4
|
__name: "CdrUtilitySerif",
|
|
6
5
|
props: {
|
|
7
|
-
/**
|
|
8
|
-
* Sets the type scale
|
|
9
|
-
* @type scaleValue
|
|
10
|
-
* @values '-1','0','1','2','3'
|
|
11
|
-
*/
|
|
12
6
|
scale: {
|
|
13
|
-
type: String,
|
|
14
7
|
default: "1"
|
|
15
8
|
},
|
|
16
|
-
/** Toggles the strong variant */
|
|
17
9
|
strong: {
|
|
18
10
|
type: Boolean,
|
|
19
11
|
default: !1
|
|
12
|
+
},
|
|
13
|
+
tag: {
|
|
14
|
+
default: "p"
|
|
20
15
|
}
|
|
21
16
|
},
|
|
22
|
-
setup(
|
|
23
|
-
const e =
|
|
17
|
+
setup(s) {
|
|
18
|
+
const e = s, r = a(() => ({
|
|
24
19
|
"--cdr-utility-serif-font-size": `var(--cdr-type-scale-${e.scale})`,
|
|
25
20
|
"--cdr-utility-serif-line-height": `calc(var(--cdr-type-scale-${e.scale}) * var(--cdr-utility-serif-line-height-ratio))`,
|
|
26
21
|
"--cdr-utility-serif-font-weight": e.strong ? "600" : "400"
|
|
27
|
-
})),
|
|
28
|
-
return (
|
|
29
|
-
class:
|
|
30
|
-
style:
|
|
22
|
+
})), l = o();
|
|
23
|
+
return (t, g) => (n(), c(f(t.tag), {
|
|
24
|
+
class: u(d(l)[C]),
|
|
25
|
+
style: p(r.value)
|
|
31
26
|
}, {
|
|
32
|
-
default:
|
|
27
|
+
default: y(() => [m(t.$slots, "default")]),
|
|
33
28
|
_: 3
|
|
34
29
|
}, 8, ["class", "style"]));
|
|
35
30
|
}
|
|
36
31
|
});
|
|
37
32
|
export {
|
|
38
|
-
|
|
33
|
+
v as default
|
|
39
34
|
};
|