@histoire/controls 0.7.4 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/.histoire/dist/__sandbox.html +2 -2
  2. package/.histoire/dist/assets/{BaseEmpty.d30f3079.js → BaseEmpty.c5ebb434.js} +2 -2
  3. package/.histoire/dist/assets/{HomeView.8e044be6.js → HomeView.2d2d0dfe.js} +2 -2
  4. package/.histoire/dist/assets/HstCheckbox.story.ccd10161.js +151 -0
  5. package/.histoire/dist/assets/{HstColorShades.story.68cf74d1.js → HstColorShades.story.d71deb80.js} +198 -190
  6. package/.histoire/dist/assets/{HstCopyIcon.e40e725e.js → HstCopyIcon.ef403c78.js} +22 -18
  7. package/.histoire/dist/assets/HstNumber.story.1e0e7b71.js +165 -0
  8. package/.histoire/dist/assets/HstSelect.story.8a2b4741.js +290 -0
  9. package/.histoire/dist/assets/HstSlider.story.4155f6ba.js +153 -0
  10. package/.histoire/dist/assets/HstText.story.43417ceb.js +143 -0
  11. package/.histoire/dist/assets/HstTextarea.story.3e39b89e.js +111 -0
  12. package/.histoire/dist/assets/HstTokenGrid.story.e2f237c4.js +156 -0
  13. package/.histoire/dist/assets/HstTokenList.story.bc7b0288.js +184 -0
  14. package/.histoire/dist/assets/{HstWrapper.246b6982.js → HstWrapper.fee42109.js} +31 -26
  15. package/.histoire/dist/assets/{SearchPane.daa2675c.js → SearchPane.37a81ba7.js} +6 -6
  16. package/.histoire/dist/assets/{StoryView.2f64dad1.js → StoryView.2c1f1961.js} +18 -16
  17. package/.histoire/dist/assets/{bundle-main.784e5bf7.js → bundle-main.c70a2b14.js} +6 -6
  18. package/.histoire/dist/assets/{bundle-sandbox.5e153933.js → bundle-sandbox.f56c0808.js} +3 -3
  19. package/.histoire/dist/assets/{const.268165fd.js → const.36730b48.js} +61 -2
  20. package/.histoire/dist/assets/{global-components.6736b2a9.js → global-components.d165b38c.js} +132 -48
  21. package/.histoire/dist/assets/{search-docs-data.b9a75539.js → search-docs-data.2e7ad186.js} +1 -1
  22. package/.histoire/dist/assets/{style.04507241.css → style.dc851298.css} +102 -32
  23. package/.histoire/dist/assets/{vendor.2833ae3d.js → vendor.31c91490.js} +508 -505
  24. package/.histoire/dist/index.html +3 -3
  25. package/histoire-dist/__sandbox.html +15 -0
  26. package/histoire-dist/assets/BaseEmpty.a84c14c8.js +1 -0
  27. package/histoire-dist/assets/HomeView.f524bd4b.js +1 -0
  28. package/histoire-dist/assets/HstCheckbox.story.9f622545.js +1 -0
  29. package/histoire-dist/assets/HstInput.story.945401ce.js +1 -0
  30. package/histoire-dist/assets/SearchModal.76c035f2.js +1 -0
  31. package/histoire-dist/assets/StoryView.e4c41518.js +15 -0
  32. package/histoire-dist/assets/global-components.84d0ab22.js +1 -0
  33. package/histoire-dist/assets/histoire-text-dark.a529813a.svg +89 -0
  34. package/histoire-dist/assets/histoire-text.1d4474b5.svg +89 -0
  35. package/histoire-dist/assets/histoire.8af7bd1f.svg +51 -0
  36. package/histoire-dist/assets/index.58f51dd0.js +1 -0
  37. package/histoire-dist/assets/preview-settings.a634d101.js +1 -0
  38. package/histoire-dist/assets/sandbox.2c60450a.js +1 -0
  39. package/histoire-dist/assets/style.7657d2ac.css +1 -0
  40. package/histoire-dist/assets/vendor.70a554f6.js +9 -0
  41. package/histoire-dist/index.html +15 -0
  42. package/package.json +2 -2
  43. package/.histoire/dist/assets/HstCheckbox.story.3d04d85b.js +0 -144
  44. package/.histoire/dist/assets/HstNumber.story.1e1964ff.js +0 -160
  45. package/.histoire/dist/assets/HstSelect.story.04860383.js +0 -277
  46. package/.histoire/dist/assets/HstText.story.c915d831.js +0 -137
  47. package/.histoire/dist/assets/HstTextarea.story.802b9c26.js +0 -105
  48. package/.histoire/dist/assets/HstTokenGrid.story.025819d6.js +0 -148
  49. package/.histoire/dist/assets/HstTokenList.story.d3aa6575.js +0 -176
@@ -10991,7 +10991,7 @@ const _sfc_main$7 = defineComponent({
10991
10991
  });
10992
10992
  const _hoisted_1$3 = ["innerHTML"];
10993
10993
  const _hoisted_2$2 = ["textContent"];
10994
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
10994
+ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
10995
10995
  const _component_PopperContent = resolveComponent("PopperContent");
10996
10996
  const _component_Popper = resolveComponent("Popper");
10997
10997
  return openBlock(), createBlock(_component_Popper, mergeProps({ ref: "popper" }, _ctx.$attrs, {
@@ -11044,7 +11044,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
11044
11044
  _: 1
11045
11045
  }, 16, ["theme", "popper-node", "onApplyShow", "onApplyHide"]);
11046
11046
  }
11047
- var PrivateTooltipDirective = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["render", _sfc_render]]);
11047
+ var PrivateTooltipDirective = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["render", _sfc_render$4]]);
11048
11048
  const TARGET_CLASS = "v-popper--has-tooltip";
11049
11049
  function getPlacement(options2, modifiers) {
11050
11050
  let result = options2.placement;
@@ -16294,16 +16294,6 @@ var _export_sfc = (sfc, props) => {
16294
16294
  return target;
16295
16295
  };
16296
16296
  var Tailwind_story_vue_vue_type_style_index_0_scoped_true_lang = "";
16297
- const _withScopeId = (n2) => (pushScopeId("data-v-9e4c73b2"), n2 = n2(), popScopeId(), n2);
16298
- const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("div", { class: "padding-box" }, null, -1));
16299
- const _hoisted_2 = [
16300
- _hoisted_1
16301
- ];
16302
- const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("div", { class: "margin-box" }, null, -1));
16303
- const _hoisted_4 = [
16304
- _hoisted_3
16305
- ];
16306
- const _hoisted_5 = { class: "width" };
16307
16297
  const _sfc_main = {
16308
16298
  name: "Tailwind.story",
16309
16299
  setup(__props, { expose }) {
@@ -22843,7 +22833,6 @@ const _sfc_main = {
22843
22833
  "content"
22844
22834
  ],
22845
22835
  "plugins": [],
22846
- "prefix": "htw-",
22847
22836
  "content": {
22848
22837
  "files": [
22849
22838
  "./src/**/*.{vue,js,ts,jsx,tsx,md}"
@@ -22852,8 +22841,8 @@ const _sfc_main = {
22852
22841
  "transform": {}
22853
22842
  },
22854
22843
  "darkMode": "class",
22844
+ "prefix": "htw-",
22855
22845
  "default": {
22856
- "prefix": "htw-",
22857
22846
  "theme": {
22858
22847
  "extend": {
22859
22848
  "colors": {
@@ -22928,7 +22917,8 @@ const _sfc_main = {
22928
22917
  "corePlugins": {
22929
22918
  "preflight": false
22930
22919
  },
22931
- "plugins": []
22920
+ "plugins": [],
22921
+ "prefix": "htw-"
22932
22922
  },
22933
22923
  "presets": [],
22934
22924
  "variantOrder": [
@@ -22961,536 +22951,549 @@ const _sfc_main = {
22961
22951
  sampleText,
22962
22952
  fontSize
22963
22953
  });
22964
- return (_ctx, _cache) => {
22965
- const _component_HstColorShades = resolveComponent("HstColorShades");
22966
- const _component_HstText = resolveComponent("HstText");
22967
- const _component_Variant = resolveComponent("Variant");
22968
- const _component_HstTokenList = resolveComponent("HstTokenList");
22969
- const _component_HstTextarea = resolveComponent("HstTextarea");
22970
- const _component_HstNumber = resolveComponent("HstNumber");
22971
- const _component_HstTokenGrid = resolveComponent("HstTokenGrid");
22972
- const _component_Story = resolveComponent("Story");
22973
- return openBlock(), createBlock(_component_Story, {
22974
- id: "tailwind",
22975
- title: "Tailwind",
22976
- group: "design-system",
22977
- icon: "mdi:tailwind",
22978
- responsiveDisabled: "",
22979
- layout: { type: "single", iframe: false }
22954
+ const __returned__ = { config: config2, search, sampleText, fontSize, ref };
22955
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
22956
+ return __returned__;
22957
+ }
22958
+ };
22959
+ const _withScopeId = (n2) => (pushScopeId("data-v-9e4c73b2"), n2 = n2(), popScopeId(), n2);
22960
+ const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("div", { class: "padding-box" }, null, -1));
22961
+ const _hoisted_2 = [
22962
+ _hoisted_1
22963
+ ];
22964
+ const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("div", { class: "margin-box" }, null, -1));
22965
+ const _hoisted_4 = [
22966
+ _hoisted_3
22967
+ ];
22968
+ const _hoisted_5 = { class: "width" };
22969
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
22970
+ const _component_HstColorShades = resolveComponent("HstColorShades");
22971
+ const _component_HstText = resolveComponent("HstText");
22972
+ const _component_Variant = resolveComponent("Variant");
22973
+ const _component_HstTokenList = resolveComponent("HstTokenList");
22974
+ const _component_HstTextarea = resolveComponent("HstTextarea");
22975
+ const _component_HstNumber = resolveComponent("HstNumber");
22976
+ const _component_HstTokenGrid = resolveComponent("HstTokenGrid");
22977
+ const _component_Story = resolveComponent("Story");
22978
+ return openBlock(), createBlock(_component_Story, {
22979
+ id: "tailwind",
22980
+ title: "Tailwind",
22981
+ group: "design-system",
22982
+ icon: "mdi:tailwind",
22983
+ responsiveDisabled: "",
22984
+ layout: { type: "single", iframe: false }
22985
+ }, {
22986
+ default: withCtx(() => [
22987
+ createVNode(_component_Variant, {
22988
+ id: "background-color",
22989
+ title: "Background Color",
22990
+ icon: "carbon:color-palette"
22980
22991
  }, {
22992
+ controls: withCtx(() => [
22993
+ createVNode(_component_HstText, {
22994
+ modelValue: $setup.search,
22995
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.search = $event),
22996
+ title: "Filter..."
22997
+ }, null, 8, ["modelValue"])
22998
+ ]),
22981
22999
  default: withCtx(() => [
22982
- createVNode(_component_Variant, {
22983
- id: "background-color",
22984
- title: "Background Color",
22985
- icon: "carbon:color-palette"
22986
- }, {
22987
- controls: withCtx(() => [
22988
- createVNode(_component_HstText, {
22989
- modelValue: search.value,
22990
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => search.value = $event),
22991
- title: "Filter..."
22992
- }, null, 8, ["modelValue"])
22993
- ]),
22994
- default: withCtx(() => [
22995
- (openBlock(true), createElementBlock(Fragment, null, renderList(config2.theme.backgroundColor, (shades, key) => {
22996
- return openBlock(), createBlock(_component_HstColorShades, {
22997
- key,
22998
- shades: typeof shades === "object" ? shades : { DEFAULT: shades },
22999
- "get-name": (shade) => {
23000
- var _a2;
23001
- return ((_a2 = config2.prefix) != null ? _a2 : "") + (shade === "DEFAULT" ? `bg-${key}` : `bg-${key}-${shade}`);
23002
- },
23003
- search: search.value
23004
- }, {
23005
- default: withCtx(({ color }) => [
23006
- createBaseVNode("div", {
23007
- class: "shade",
23008
- style: normalizeStyle({
23009
- backgroundColor: color
23010
- })
23011
- }, null, 4)
23012
- ]),
23013
- _: 2
23014
- }, 1032, ["shades", "get-name", "search"]);
23015
- }), 128))
23016
- ]),
23017
- _: 1
23018
- }),
23019
- createVNode(_component_Variant, {
23020
- id: "text-color",
23021
- title: "Text Color",
23022
- icon: "carbon:text-color"
23023
- }, {
23024
- controls: withCtx(() => [
23025
- createVNode(_component_HstText, {
23026
- modelValue: search.value,
23027
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => search.value = $event),
23028
- title: "Filter..."
23029
- }, null, 8, ["modelValue"])
23030
- ]),
23031
- default: withCtx(() => [
23032
- (openBlock(true), createElementBlock(Fragment, null, renderList(config2.theme.textColor, (shades, key) => {
23033
- return openBlock(), createBlock(_component_HstColorShades, {
23034
- key,
23035
- shades: typeof shades === "object" ? shades : { DEFAULT: shades },
23036
- "get-name": (shade) => {
23037
- var _a2;
23038
- return ((_a2 = config2.prefix) != null ? _a2 : "") + (shade === "DEFAULT" ? `text-${key}` : `text-${key}-${shade}`);
23039
- },
23040
- search: search.value
23041
- }, {
23042
- default: withCtx(({ color }) => [
23043
- createBaseVNode("div", {
23044
- class: "shade text",
23045
- style: normalizeStyle({
23046
- color
23047
- })
23048
- }, " Aa ", 4)
23049
- ]),
23050
- _: 2
23051
- }, 1032, ["shades", "get-name", "search"]);
23052
- }), 128))
23053
- ]),
23054
- _: 1
23055
- }),
23056
- createVNode(_component_Variant, {
23057
- id: "border-color",
23058
- title: "Border Color",
23059
- icon: "carbon:color-palette"
23060
- }, {
23061
- controls: withCtx(() => [
23062
- createVNode(_component_HstText, {
23063
- modelValue: search.value,
23064
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => search.value = $event),
23065
- title: "Filter..."
23066
- }, null, 8, ["modelValue"])
23067
- ]),
23068
- default: withCtx(() => [
23069
- (openBlock(true), createElementBlock(Fragment, null, renderList(config2.theme.borderColor, (shades, key) => {
23070
- return openBlock(), createBlock(_component_HstColorShades, {
23071
- key,
23072
- shades: typeof shades === "object" ? shades : { DEFAULT: shades },
23073
- "get-name": (shade) => {
23074
- var _a2;
23075
- return ((_a2 = config2.prefix) != null ? _a2 : "") + (shade === "DEFAULT" ? `border-${key}` : `border-${key}-${shade}`);
23076
- },
23077
- search: search.value
23078
- }, {
23079
- default: withCtx(({ color }) => [
23080
- createBaseVNode("div", {
23081
- class: "shade border",
23082
- style: normalizeStyle({
23083
- borderColor: color
23084
- })
23085
- }, null, 4)
23086
- ]),
23087
- _: 2
23088
- }, 1032, ["shades", "get-name", "search"]);
23089
- }), 128))
23090
- ]),
23091
- _: 1
23092
- }),
23093
- createVNode(_component_Variant, {
23094
- id: "padding",
23095
- title: "Padding",
23096
- icon: "carbon:area"
23097
- }, {
23098
- default: withCtx(() => [
23099
- createVNode(_component_HstTokenList, {
23100
- tokens: config2.theme.padding,
23101
- "get-name": (key) => {
23102
- var _a2;
23103
- return `${(_a2 = config2.prefix) != null ? _a2 : ""}p-${key}`;
23104
- }
23105
- }, {
23106
- default: withCtx(({ token }) => [
23107
- createBaseVNode("div", {
23108
- class: "padding",
23109
- style: normalizeStyle({
23110
- padding: token.value
23111
- })
23112
- }, _hoisted_2, 4)
23113
- ]),
23114
- _: 1
23115
- }, 8, ["tokens", "get-name"])
23116
- ]),
23117
- _: 1
23118
- }),
23119
- createVNode(_component_Variant, {
23120
- id: "margin",
23121
- title: "Margin",
23122
- icon: "carbon:area"
23000
+ (openBlock(true), createElementBlock(Fragment, null, renderList($setup.config.theme.backgroundColor, (shades, key) => {
23001
+ return openBlock(), createBlock(_component_HstColorShades, {
23002
+ key,
23003
+ shades: typeof shades === "object" ? shades : { DEFAULT: shades },
23004
+ "get-name": (shade) => {
23005
+ var _a2;
23006
+ return ((_a2 = $setup.config.prefix) != null ? _a2 : "") + (shade === "DEFAULT" ? `bg-${key}` : `bg-${key}-${shade}`);
23007
+ },
23008
+ search: $setup.search
23009
+ }, {
23010
+ default: withCtx(({ color }) => [
23011
+ createBaseVNode("div", {
23012
+ class: "shade",
23013
+ style: normalizeStyle({
23014
+ backgroundColor: color
23015
+ })
23016
+ }, null, 4)
23017
+ ]),
23018
+ _: 2
23019
+ }, 1032, ["shades", "get-name", "search"]);
23020
+ }), 128))
23021
+ ]),
23022
+ _: 1
23023
+ }),
23024
+ createVNode(_component_Variant, {
23025
+ id: "text-color",
23026
+ title: "Text Color",
23027
+ icon: "carbon:text-color"
23028
+ }, {
23029
+ controls: withCtx(() => [
23030
+ createVNode(_component_HstText, {
23031
+ modelValue: $setup.search,
23032
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $setup.search = $event),
23033
+ title: "Filter..."
23034
+ }, null, 8, ["modelValue"])
23035
+ ]),
23036
+ default: withCtx(() => [
23037
+ (openBlock(true), createElementBlock(Fragment, null, renderList($setup.config.theme.textColor, (shades, key) => {
23038
+ return openBlock(), createBlock(_component_HstColorShades, {
23039
+ key,
23040
+ shades: typeof shades === "object" ? shades : { DEFAULT: shades },
23041
+ "get-name": (shade) => {
23042
+ var _a2;
23043
+ return ((_a2 = $setup.config.prefix) != null ? _a2 : "") + (shade === "DEFAULT" ? `text-${key}` : `text-${key}-${shade}`);
23044
+ },
23045
+ search: $setup.search
23046
+ }, {
23047
+ default: withCtx(({ color }) => [
23048
+ createBaseVNode("div", {
23049
+ class: "shade text",
23050
+ style: normalizeStyle({
23051
+ color
23052
+ })
23053
+ }, " Aa ", 4)
23054
+ ]),
23055
+ _: 2
23056
+ }, 1032, ["shades", "get-name", "search"]);
23057
+ }), 128))
23058
+ ]),
23059
+ _: 1
23060
+ }),
23061
+ createVNode(_component_Variant, {
23062
+ id: "border-color",
23063
+ title: "Border Color",
23064
+ icon: "carbon:color-palette"
23065
+ }, {
23066
+ controls: withCtx(() => [
23067
+ createVNode(_component_HstText, {
23068
+ modelValue: $setup.search,
23069
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $setup.search = $event),
23070
+ title: "Filter..."
23071
+ }, null, 8, ["modelValue"])
23072
+ ]),
23073
+ default: withCtx(() => [
23074
+ (openBlock(true), createElementBlock(Fragment, null, renderList($setup.config.theme.borderColor, (shades, key) => {
23075
+ return openBlock(), createBlock(_component_HstColorShades, {
23076
+ key,
23077
+ shades: typeof shades === "object" ? shades : { DEFAULT: shades },
23078
+ "get-name": (shade) => {
23079
+ var _a2;
23080
+ return ((_a2 = $setup.config.prefix) != null ? _a2 : "") + (shade === "DEFAULT" ? `border-${key}` : `border-${key}-${shade}`);
23081
+ },
23082
+ search: $setup.search
23083
+ }, {
23084
+ default: withCtx(({ color }) => [
23085
+ createBaseVNode("div", {
23086
+ class: "shade border",
23087
+ style: normalizeStyle({
23088
+ borderColor: color
23089
+ })
23090
+ }, null, 4)
23091
+ ]),
23092
+ _: 2
23093
+ }, 1032, ["shades", "get-name", "search"]);
23094
+ }), 128))
23095
+ ]),
23096
+ _: 1
23097
+ }),
23098
+ createVNode(_component_Variant, {
23099
+ id: "padding",
23100
+ title: "Padding",
23101
+ icon: "carbon:area"
23102
+ }, {
23103
+ default: withCtx(() => [
23104
+ createVNode(_component_HstTokenList, {
23105
+ tokens: $setup.config.theme.padding,
23106
+ "get-name": (key) => {
23107
+ var _a2;
23108
+ return `${(_a2 = $setup.config.prefix) != null ? _a2 : ""}p-${key}`;
23109
+ }
23123
23110
  }, {
23124
- default: withCtx(() => [
23125
- createVNode(_component_HstTokenList, {
23126
- tokens: config2.theme.margin,
23127
- "get-name": (key) => {
23128
- var _a2;
23129
- return `${(_a2 = config2.prefix) != null ? _a2 : ""}m-${key}`;
23130
- }
23131
- }, {
23132
- default: withCtx(({ token }) => [
23133
- createBaseVNode("div", {
23134
- class: "margin",
23135
- style: normalizeStyle({
23136
- padding: token.value
23137
- })
23138
- }, _hoisted_4, 4)
23139
- ]),
23140
- _: 1
23141
- }, 8, ["tokens", "get-name"])
23111
+ default: withCtx(({ token }) => [
23112
+ createBaseVNode("div", {
23113
+ class: "padding",
23114
+ style: normalizeStyle({
23115
+ padding: token.value
23116
+ })
23117
+ }, _hoisted_2, 4)
23142
23118
  ]),
23143
23119
  _: 1
23144
- }),
23145
- createVNode(_component_Variant, {
23146
- id: "font-size",
23147
- title: "Font Size",
23148
- icon: "carbon:text-font"
23120
+ }, 8, ["tokens", "get-name"])
23121
+ ]),
23122
+ _: 1
23123
+ }),
23124
+ createVNode(_component_Variant, {
23125
+ id: "margin",
23126
+ title: "Margin",
23127
+ icon: "carbon:area"
23128
+ }, {
23129
+ default: withCtx(() => [
23130
+ createVNode(_component_HstTokenList, {
23131
+ tokens: $setup.config.theme.margin,
23132
+ "get-name": (key) => {
23133
+ var _a2;
23134
+ return `${(_a2 = $setup.config.prefix) != null ? _a2 : ""}m-${key}`;
23135
+ }
23149
23136
  }, {
23150
- controls: withCtx(() => [
23151
- createVNode(_component_HstTextarea, {
23152
- modelValue: sampleText.value,
23153
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => sampleText.value = $event),
23154
- title: "Sample text",
23155
- rows: "5"
23156
- }, null, 8, ["modelValue"])
23157
- ]),
23158
- default: withCtx(() => [
23159
- createVNode(_component_HstTokenList, {
23160
- tokens: config2.theme.fontSize,
23161
- "get-name": (key) => {
23162
- var _a2;
23163
- return `${(_a2 = config2.prefix) != null ? _a2 : ""}text-${key}`;
23164
- }
23165
- }, {
23166
- default: withCtx(({ token }) => [
23167
- createBaseVNode("div", {
23168
- class: "truncate",
23169
- style: normalizeStyle(__spreadValues2({
23170
- fontSize: token.value[0]
23171
- }, token.value[1]))
23172
- }, toDisplayString(sampleText.value), 5)
23173
- ]),
23174
- _: 1
23175
- }, 8, ["tokens", "get-name"])
23137
+ default: withCtx(({ token }) => [
23138
+ createBaseVNode("div", {
23139
+ class: "margin",
23140
+ style: normalizeStyle({
23141
+ padding: token.value
23142
+ })
23143
+ }, _hoisted_4, 4)
23176
23144
  ]),
23177
23145
  _: 1
23178
- }),
23179
- createVNode(_component_Variant, {
23180
- id: "font-weight",
23181
- title: "Font Weight",
23182
- icon: "carbon:text-font"
23146
+ }, 8, ["tokens", "get-name"])
23147
+ ]),
23148
+ _: 1
23149
+ }),
23150
+ createVNode(_component_Variant, {
23151
+ id: "font-size",
23152
+ title: "Font Size",
23153
+ icon: "carbon:text-font"
23154
+ }, {
23155
+ controls: withCtx(() => [
23156
+ createVNode(_component_HstTextarea, {
23157
+ modelValue: $setup.sampleText,
23158
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $setup.sampleText = $event),
23159
+ title: "Sample text",
23160
+ rows: "5"
23161
+ }, null, 8, ["modelValue"])
23162
+ ]),
23163
+ default: withCtx(() => [
23164
+ createVNode(_component_HstTokenList, {
23165
+ tokens: $setup.config.theme.fontSize,
23166
+ "get-name": (key) => {
23167
+ var _a2;
23168
+ return `${(_a2 = $setup.config.prefix) != null ? _a2 : ""}text-${key}`;
23169
+ }
23183
23170
  }, {
23184
- controls: withCtx(() => [
23185
- createVNode(_component_HstTextarea, {
23186
- modelValue: sampleText.value,
23187
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => sampleText.value = $event),
23188
- title: "Sample text",
23189
- rows: "5"
23190
- }, null, 8, ["modelValue"]),
23191
- createVNode(_component_HstNumber, {
23192
- modelValue: fontSize.value,
23193
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => fontSize.value = $event),
23194
- title: "Font size",
23195
- min: "1"
23196
- }, null, 8, ["modelValue"])
23197
- ]),
23198
- default: withCtx(() => [
23199
- createVNode(_component_HstTokenList, {
23200
- tokens: config2.theme.fontWeight,
23201
- "get-name": (key) => {
23202
- var _a2;
23203
- return `${(_a2 = config2.prefix) != null ? _a2 : ""}font-${key}`;
23204
- }
23205
- }, {
23206
- default: withCtx(({ token }) => [
23207
- createBaseVNode("div", {
23208
- class: "truncate",
23209
- style: normalizeStyle({
23210
- fontWeight: token.value,
23211
- fontSize: `${fontSize.value}px`
23212
- })
23213
- }, toDisplayString(sampleText.value), 5)
23214
- ]),
23215
- _: 1
23216
- }, 8, ["tokens", "get-name"])
23171
+ default: withCtx(({ token }) => [
23172
+ createBaseVNode("div", {
23173
+ class: "truncate",
23174
+ style: normalizeStyle(__spreadValues2({
23175
+ fontSize: token.value[0]
23176
+ }, token.value[1]))
23177
+ }, toDisplayString($setup.sampleText), 5)
23217
23178
  ]),
23218
23179
  _: 1
23219
- }),
23220
- createVNode(_component_Variant, {
23221
- id: "font-family",
23222
- title: "Font Family",
23223
- icon: "carbon:text-font"
23180
+ }, 8, ["tokens", "get-name"])
23181
+ ]),
23182
+ _: 1
23183
+ }),
23184
+ createVNode(_component_Variant, {
23185
+ id: "font-weight",
23186
+ title: "Font Weight",
23187
+ icon: "carbon:text-font"
23188
+ }, {
23189
+ controls: withCtx(() => [
23190
+ createVNode(_component_HstTextarea, {
23191
+ modelValue: $setup.sampleText,
23192
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $setup.sampleText = $event),
23193
+ title: "Sample text",
23194
+ rows: "5"
23195
+ }, null, 8, ["modelValue"]),
23196
+ createVNode(_component_HstNumber, {
23197
+ modelValue: $setup.fontSize,
23198
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $setup.fontSize = $event),
23199
+ title: "Font size",
23200
+ min: "1"
23201
+ }, null, 8, ["modelValue"])
23202
+ ]),
23203
+ default: withCtx(() => [
23204
+ createVNode(_component_HstTokenList, {
23205
+ tokens: $setup.config.theme.fontWeight,
23206
+ "get-name": (key) => {
23207
+ var _a2;
23208
+ return `${(_a2 = $setup.config.prefix) != null ? _a2 : ""}font-${key}`;
23209
+ }
23224
23210
  }, {
23225
- controls: withCtx(() => [
23226
- createVNode(_component_HstTextarea, {
23227
- modelValue: sampleText.value,
23228
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => sampleText.value = $event),
23229
- title: "Sample text",
23230
- rows: "5"
23231
- }, null, 8, ["modelValue"]),
23232
- createVNode(_component_HstNumber, {
23233
- modelValue: fontSize.value,
23234
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => fontSize.value = $event),
23235
- title: "Font size",
23236
- min: "1"
23237
- }, null, 8, ["modelValue"])
23238
- ]),
23239
- default: withCtx(() => [
23240
- createVNode(_component_HstTokenList, {
23241
- tokens: config2.theme.fontFamily,
23242
- "get-name": (key) => {
23243
- var _a2;
23244
- return `${(_a2 = config2.prefix) != null ? _a2 : ""}font-${key}`;
23245
- }
23246
- }, {
23247
- default: withCtx(({ token }) => [
23248
- createBaseVNode("div", {
23249
- class: "truncate",
23250
- style: normalizeStyle({
23251
- fontFamily: token.value,
23252
- fontSize: `${fontSize.value}px`
23253
- })
23254
- }, toDisplayString(sampleText.value), 5)
23255
- ]),
23256
- _: 1
23257
- }, 8, ["tokens", "get-name"])
23211
+ default: withCtx(({ token }) => [
23212
+ createBaseVNode("div", {
23213
+ class: "truncate",
23214
+ style: normalizeStyle({
23215
+ fontWeight: token.value,
23216
+ fontSize: `${$setup.fontSize}px`
23217
+ })
23218
+ }, toDisplayString($setup.sampleText), 5)
23258
23219
  ]),
23259
23220
  _: 1
23260
- }),
23261
- createVNode(_component_Variant, {
23262
- id: "letter-spacing",
23263
- title: "Letter Spacing",
23264
- icon: "carbon:text-font"
23221
+ }, 8, ["tokens", "get-name"])
23222
+ ]),
23223
+ _: 1
23224
+ }),
23225
+ createVNode(_component_Variant, {
23226
+ id: "font-family",
23227
+ title: "Font Family",
23228
+ icon: "carbon:text-font"
23229
+ }, {
23230
+ controls: withCtx(() => [
23231
+ createVNode(_component_HstTextarea, {
23232
+ modelValue: $setup.sampleText,
23233
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $setup.sampleText = $event),
23234
+ title: "Sample text",
23235
+ rows: "5"
23236
+ }, null, 8, ["modelValue"]),
23237
+ createVNode(_component_HstNumber, {
23238
+ modelValue: $setup.fontSize,
23239
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $setup.fontSize = $event),
23240
+ title: "Font size",
23241
+ min: "1"
23242
+ }, null, 8, ["modelValue"])
23243
+ ]),
23244
+ default: withCtx(() => [
23245
+ createVNode(_component_HstTokenList, {
23246
+ tokens: $setup.config.theme.fontFamily,
23247
+ "get-name": (key) => {
23248
+ var _a2;
23249
+ return `${(_a2 = $setup.config.prefix) != null ? _a2 : ""}font-${key}`;
23250
+ }
23265
23251
  }, {
23266
- controls: withCtx(() => [
23267
- createVNode(_component_HstTextarea, {
23268
- modelValue: sampleText.value,
23269
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => sampleText.value = $event),
23270
- title: "Sample text",
23271
- rows: "5"
23272
- }, null, 8, ["modelValue"]),
23273
- createVNode(_component_HstNumber, {
23274
- modelValue: fontSize.value,
23275
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => fontSize.value = $event),
23276
- title: "Font size",
23277
- min: "1"
23278
- }, null, 8, ["modelValue"])
23279
- ]),
23280
- default: withCtx(() => [
23281
- createVNode(_component_HstTokenList, {
23282
- tokens: config2.theme.letterSpacing,
23283
- "get-name": (key) => {
23284
- var _a2;
23285
- return `${(_a2 = config2.prefix) != null ? _a2 : ""}tracking-${key}`;
23286
- }
23287
- }, {
23288
- default: withCtx(({ token }) => [
23289
- createBaseVNode("div", {
23290
- class: "truncate",
23291
- style: normalizeStyle({
23292
- letterSpacing: token.value,
23293
- fontSize: `${fontSize.value}px`
23294
- })
23295
- }, toDisplayString(sampleText.value), 5)
23296
- ]),
23297
- _: 1
23298
- }, 8, ["tokens", "get-name"])
23252
+ default: withCtx(({ token }) => [
23253
+ createBaseVNode("div", {
23254
+ class: "truncate",
23255
+ style: normalizeStyle({
23256
+ fontFamily: token.value,
23257
+ fontSize: `${$setup.fontSize}px`
23258
+ })
23259
+ }, toDisplayString($setup.sampleText), 5)
23299
23260
  ]),
23300
23261
  _: 1
23301
- }),
23302
- createVNode(_component_Variant, {
23303
- id: "line-height",
23304
- title: "Line Height",
23305
- icon: "carbon:text-font"
23262
+ }, 8, ["tokens", "get-name"])
23263
+ ]),
23264
+ _: 1
23265
+ }),
23266
+ createVNode(_component_Variant, {
23267
+ id: "letter-spacing",
23268
+ title: "Letter Spacing",
23269
+ icon: "carbon:text-font"
23270
+ }, {
23271
+ controls: withCtx(() => [
23272
+ createVNode(_component_HstTextarea, {
23273
+ modelValue: $setup.sampleText,
23274
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $setup.sampleText = $event),
23275
+ title: "Sample text",
23276
+ rows: "5"
23277
+ }, null, 8, ["modelValue"]),
23278
+ createVNode(_component_HstNumber, {
23279
+ modelValue: $setup.fontSize,
23280
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $setup.fontSize = $event),
23281
+ title: "Font size",
23282
+ min: "1"
23283
+ }, null, 8, ["modelValue"])
23284
+ ]),
23285
+ default: withCtx(() => [
23286
+ createVNode(_component_HstTokenList, {
23287
+ tokens: $setup.config.theme.letterSpacing,
23288
+ "get-name": (key) => {
23289
+ var _a2;
23290
+ return `${(_a2 = $setup.config.prefix) != null ? _a2 : ""}tracking-${key}`;
23291
+ }
23306
23292
  }, {
23307
- controls: withCtx(() => [
23308
- createVNode(_component_HstTextarea, {
23309
- modelValue: sampleText.value,
23310
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => sampleText.value = $event),
23311
- title: "Sample text",
23312
- rows: "5"
23313
- }, null, 8, ["modelValue"]),
23314
- createVNode(_component_HstNumber, {
23315
- modelValue: fontSize.value,
23316
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => fontSize.value = $event),
23317
- title: "Font size",
23318
- min: "1"
23319
- }, null, 8, ["modelValue"])
23320
- ]),
23321
- default: withCtx(() => [
23322
- createVNode(_component_HstTokenList, {
23323
- tokens: config2.theme.lineHeight,
23324
- "get-name": (key) => {
23325
- var _a2;
23326
- return `${(_a2 = config2.prefix) != null ? _a2 : ""}leading-${key}`;
23327
- }
23328
- }, {
23329
- default: withCtx(({ token }) => [
23330
- createBaseVNode("div", {
23331
- style: normalizeStyle({
23332
- lineHeight: token.value,
23333
- fontSize: `${fontSize.value}px`
23334
- })
23335
- }, toDisplayString(sampleText.value), 5)
23336
- ]),
23337
- _: 1
23338
- }, 8, ["tokens", "get-name"])
23293
+ default: withCtx(({ token }) => [
23294
+ createBaseVNode("div", {
23295
+ class: "truncate",
23296
+ style: normalizeStyle({
23297
+ letterSpacing: token.value,
23298
+ fontSize: `${$setup.fontSize}px`
23299
+ })
23300
+ }, toDisplayString($setup.sampleText), 5)
23339
23301
  ]),
23340
23302
  _: 1
23341
- }),
23342
- createVNode(_component_Variant, {
23343
- id: "drop-shadow",
23344
- title: "Drop Shadow",
23345
- icon: "carbon:shape-except"
23303
+ }, 8, ["tokens", "get-name"])
23304
+ ]),
23305
+ _: 1
23306
+ }),
23307
+ createVNode(_component_Variant, {
23308
+ id: "line-height",
23309
+ title: "Line Height",
23310
+ icon: "carbon:text-font"
23311
+ }, {
23312
+ controls: withCtx(() => [
23313
+ createVNode(_component_HstTextarea, {
23314
+ modelValue: $setup.sampleText,
23315
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $setup.sampleText = $event),
23316
+ title: "Sample text",
23317
+ rows: "5"
23318
+ }, null, 8, ["modelValue"]),
23319
+ createVNode(_component_HstNumber, {
23320
+ modelValue: $setup.fontSize,
23321
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $setup.fontSize = $event),
23322
+ title: "Font size",
23323
+ min: "1"
23324
+ }, null, 8, ["modelValue"])
23325
+ ]),
23326
+ default: withCtx(() => [
23327
+ createVNode(_component_HstTokenList, {
23328
+ tokens: $setup.config.theme.lineHeight,
23329
+ "get-name": (key) => {
23330
+ var _a2;
23331
+ return `${(_a2 = $setup.config.prefix) != null ? _a2 : ""}leading-${key}`;
23332
+ }
23346
23333
  }, {
23347
- default: withCtx(() => [
23348
- createVNode(_component_HstTokenGrid, {
23349
- tokens: config2.theme.dropShadow,
23350
- "get-name": (key) => {
23351
- var _a2;
23352
- return ((_a2 = config2.prefix) != null ? _a2 : "") + (key === "DEFAULT" ? "drop-shadow" : `drop-shadow-${key}`);
23353
- },
23354
- "col-size": 180
23355
- }, {
23356
- default: withCtx(({ token }) => [
23357
- createBaseVNode("div", {
23358
- class: "drop-shadow",
23359
- style: normalizeStyle({
23360
- filter: `${(Array.isArray(token.value) ? token.value : [token.value]).map((v2) => `drop-shadow(${v2})`).join(" ")}`
23361
- })
23362
- }, null, 4)
23363
- ]),
23364
- _: 1
23365
- }, 8, ["tokens", "get-name"])
23334
+ default: withCtx(({ token }) => [
23335
+ createBaseVNode("div", {
23336
+ style: normalizeStyle({
23337
+ lineHeight: token.value,
23338
+ fontSize: `${$setup.fontSize}px`
23339
+ })
23340
+ }, toDisplayString($setup.sampleText), 5)
23366
23341
  ]),
23367
23342
  _: 1
23368
- }),
23369
- createVNode(_component_Variant, {
23370
- id: "border-radius",
23371
- title: "Border Radius",
23372
- icon: "carbon:condition-wait-point"
23343
+ }, 8, ["tokens", "get-name"])
23344
+ ]),
23345
+ _: 1
23346
+ }),
23347
+ createVNode(_component_Variant, {
23348
+ id: "drop-shadow",
23349
+ title: "Drop Shadow",
23350
+ icon: "carbon:shape-except"
23351
+ }, {
23352
+ default: withCtx(() => [
23353
+ createVNode(_component_HstTokenGrid, {
23354
+ tokens: $setup.config.theme.dropShadow,
23355
+ "get-name": (key) => {
23356
+ var _a2;
23357
+ return ((_a2 = $setup.config.prefix) != null ? _a2 : "") + (key === "DEFAULT" ? "drop-shadow" : `drop-shadow-${key}`);
23358
+ },
23359
+ "col-size": 180
23373
23360
  }, {
23374
- default: withCtx(() => [
23375
- createVNode(_component_HstTokenGrid, {
23376
- tokens: config2.theme.borderRadius,
23377
- "get-name": (key) => {
23378
- var _a2;
23379
- return ((_a2 = config2.prefix) != null ? _a2 : "") + (key === "DEFAULT" ? "rounded" : `rounded-${key}`);
23380
- },
23381
- "col-size": 180
23382
- }, {
23383
- default: withCtx(({ token }) => [
23384
- createBaseVNode("div", {
23385
- class: "border-radius",
23386
- style: normalizeStyle({
23387
- borderRadius: token.value
23388
- })
23389
- }, null, 4)
23390
- ]),
23391
- _: 1
23392
- }, 8, ["tokens", "get-name"])
23361
+ default: withCtx(({ token }) => [
23362
+ createBaseVNode("div", {
23363
+ class: "drop-shadow",
23364
+ style: normalizeStyle({
23365
+ filter: `${(Array.isArray(token.value) ? token.value : [token.value]).map((v2) => `drop-shadow(${v2})`).join(" ")}`
23366
+ })
23367
+ }, null, 4)
23393
23368
  ]),
23394
23369
  _: 1
23395
- }),
23396
- createVNode(_component_Variant, {
23397
- id: "border-width",
23398
- title: "Border Width",
23399
- icon: "carbon:checkbox"
23370
+ }, 8, ["tokens", "get-name"])
23371
+ ]),
23372
+ _: 1
23373
+ }),
23374
+ createVNode(_component_Variant, {
23375
+ id: "border-radius",
23376
+ title: "Border Radius",
23377
+ icon: "carbon:condition-wait-point"
23378
+ }, {
23379
+ default: withCtx(() => [
23380
+ createVNode(_component_HstTokenGrid, {
23381
+ tokens: $setup.config.theme.borderRadius,
23382
+ "get-name": (key) => {
23383
+ var _a2;
23384
+ return ((_a2 = $setup.config.prefix) != null ? _a2 : "") + (key === "DEFAULT" ? "rounded" : `rounded-${key}`);
23385
+ },
23386
+ "col-size": 180
23400
23387
  }, {
23401
- default: withCtx(() => [
23402
- createVNode(_component_HstTokenGrid, {
23403
- tokens: config2.theme.borderWidth,
23404
- "get-name": (key) => {
23405
- var _a2;
23406
- return ((_a2 = config2.prefix) != null ? _a2 : "") + (key === "DEFAULT" ? "border" : `border-${key}`);
23407
- },
23408
- "col-size": 180
23409
- }, {
23410
- default: withCtx(({ token }) => [
23411
- createBaseVNode("div", {
23412
- class: "border-width",
23413
- style: normalizeStyle({
23414
- borderWidth: token.value
23415
- })
23416
- }, null, 4)
23417
- ]),
23418
- _: 1
23419
- }, 8, ["tokens", "get-name"])
23388
+ default: withCtx(({ token }) => [
23389
+ createBaseVNode("div", {
23390
+ class: "border-radius",
23391
+ style: normalizeStyle({
23392
+ borderRadius: token.value
23393
+ })
23394
+ }, null, 4)
23420
23395
  ]),
23421
23396
  _: 1
23422
- }),
23423
- createVNode(_component_Variant, {
23424
- id: "width",
23425
- title: "Width",
23426
- icon: "carbon:pan-horizontal"
23397
+ }, 8, ["tokens", "get-name"])
23398
+ ]),
23399
+ _: 1
23400
+ }),
23401
+ createVNode(_component_Variant, {
23402
+ id: "border-width",
23403
+ title: "Border Width",
23404
+ icon: "carbon:checkbox"
23405
+ }, {
23406
+ default: withCtx(() => [
23407
+ createVNode(_component_HstTokenGrid, {
23408
+ tokens: $setup.config.theme.borderWidth,
23409
+ "get-name": (key) => {
23410
+ var _a2;
23411
+ return ((_a2 = $setup.config.prefix) != null ? _a2 : "") + (key === "DEFAULT" ? "border" : `border-${key}`);
23412
+ },
23413
+ "col-size": 180
23427
23414
  }, {
23428
- default: withCtx(() => [
23429
- createVNode(_component_HstTokenList, {
23430
- tokens: config2.theme.width,
23431
- "get-name": (key) => {
23432
- var _a2;
23433
- return ((_a2 = config2.prefix) != null ? _a2 : "") + (key === "DEFAULT" ? "w" : `w-${key}`);
23434
- }
23435
- }, {
23436
- default: withCtx(({ token }) => [
23437
- createBaseVNode("div", _hoisted_5, [
23438
- createBaseVNode("div", {
23439
- class: "width-box",
23440
- style: normalizeStyle({
23441
- width: token.value
23442
- })
23443
- }, null, 4)
23444
- ])
23445
- ]),
23446
- _: 1
23447
- }, 8, ["tokens", "get-name"])
23415
+ default: withCtx(({ token }) => [
23416
+ createBaseVNode("div", {
23417
+ class: "border-width",
23418
+ style: normalizeStyle({
23419
+ borderWidth: token.value
23420
+ })
23421
+ }, null, 4)
23448
23422
  ]),
23449
23423
  _: 1
23450
- }),
23451
- createVNode(_component_Variant, {
23452
- id: "height",
23453
- title: "Height",
23454
- icon: "carbon:pan-vertical"
23424
+ }, 8, ["tokens", "get-name"])
23425
+ ]),
23426
+ _: 1
23427
+ }),
23428
+ createVNode(_component_Variant, {
23429
+ id: "width",
23430
+ title: "Width",
23431
+ icon: "carbon:pan-horizontal"
23432
+ }, {
23433
+ default: withCtx(() => [
23434
+ createVNode(_component_HstTokenList, {
23435
+ tokens: $setup.config.theme.width,
23436
+ "get-name": (key) => {
23437
+ var _a2;
23438
+ return ((_a2 = $setup.config.prefix) != null ? _a2 : "") + (key === "DEFAULT" ? "w" : `w-${key}`);
23439
+ }
23455
23440
  }, {
23456
- default: withCtx(() => [
23457
- createVNode(_component_HstTokenList, {
23458
- tokens: config2.theme.height,
23459
- "get-name": (key) => {
23460
- var _a2;
23461
- return ((_a2 = config2.prefix) != null ? _a2 : "") + (key === "DEFAULT" ? "h" : `h-${key}`);
23462
- }
23463
- }, {
23464
- default: withCtx(({ token }) => [
23465
- createBaseVNode("div", {
23466
- class: "height",
23467
- style: normalizeStyle({
23468
- height: token.value
23469
- })
23470
- }, null, 4)
23471
- ]),
23472
- _: 1
23473
- }, 8, ["tokens", "get-name"])
23441
+ default: withCtx(({ token }) => [
23442
+ createBaseVNode("div", _hoisted_5, [
23443
+ createBaseVNode("div", {
23444
+ class: "width-box",
23445
+ style: normalizeStyle({
23446
+ width: token.value
23447
+ })
23448
+ }, null, 4)
23449
+ ])
23474
23450
  ]),
23475
23451
  _: 1
23476
- }),
23477
- createVNode(_component_Variant, {
23478
- id: "full-config",
23479
- title: "Full Config",
23480
- icon: "carbon:code"
23452
+ }, 8, ["tokens", "get-name"])
23453
+ ]),
23454
+ _: 1
23455
+ }),
23456
+ createVNode(_component_Variant, {
23457
+ id: "height",
23458
+ title: "Height",
23459
+ icon: "carbon:pan-vertical"
23460
+ }, {
23461
+ default: withCtx(() => [
23462
+ createVNode(_component_HstTokenList, {
23463
+ tokens: $setup.config.theme.height,
23464
+ "get-name": (key) => {
23465
+ var _a2;
23466
+ return ((_a2 = $setup.config.prefix) != null ? _a2 : "") + (key === "DEFAULT" ? "h" : `h-${key}`);
23467
+ }
23481
23468
  }, {
23482
- default: withCtx(() => [
23483
- createBaseVNode("pre", null, toDisplayString(config2))
23469
+ default: withCtx(({ token }) => [
23470
+ createBaseVNode("div", {
23471
+ class: "height",
23472
+ style: normalizeStyle({
23473
+ height: token.value
23474
+ })
23475
+ }, null, 4)
23484
23476
  ]),
23485
23477
  _: 1
23486
- })
23478
+ }, 8, ["tokens", "get-name"])
23487
23479
  ]),
23488
23480
  _: 1
23489
- });
23490
- };
23491
- }
23492
- };
23493
- var Tailwind_story = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9e4c73b2"], ["__file", "/Users/akryum/Projects/histoire/packages/histoire-controls/node_modules/.histoire/plugins/tailwind-tokens/Tailwind.story.vue"]]);
23481
+ }),
23482
+ createVNode(_component_Variant, {
23483
+ id: "full-config",
23484
+ title: "Full Config",
23485
+ icon: "carbon:code"
23486
+ }, {
23487
+ default: withCtx(() => [
23488
+ createBaseVNode("pre", null, toDisplayString($setup.config))
23489
+ ]),
23490
+ _: 1
23491
+ })
23492
+ ]),
23493
+ _: 1
23494
+ });
23495
+ }
23496
+ var Tailwind_story = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9e4c73b2"], ["__file", "/home/akryum/Projects/histoire/packages/histoire-controls/node_modules/.histoire/plugins/tailwind-tokens/Tailwind.story.vue"]]);
23494
23497
  var Tailwind_story$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23495
23498
  __proto__: null,
23496
23499
  "default": Tailwind_story