@nilloq/ouds-web 0.1.0 → 0.1.4

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 (64) hide show
  1. package/README.md +15 -38
  2. package/dist/button-BPOKh6G4.js +79 -0
  3. package/dist/button-LlRiSiGS.js +76 -0
  4. package/dist/button.js +2 -2
  5. package/dist/checkbox-BYrgMhwO.js +105 -0
  6. package/dist/checkbox-D-A_bSBK.js +79 -0
  7. package/dist/checkbox.js +5 -0
  8. package/dist/elements-button.js +2 -2
  9. package/dist/elements-checkbox.js +2 -0
  10. package/dist/elements-select.js +2 -0
  11. package/dist/elements-tag.js +2 -2
  12. package/dist/elements-text-input.js +2 -0
  13. package/dist/elements.js +7 -4
  14. package/dist/index.js +6 -3
  15. package/dist/{runtime-dom.esm-bundler-aqFyuQnx.js → runtime-dom.esm-bundler-BzNNnH8h.js} +1041 -855
  16. package/dist/select-CA6TVlpX.js +58 -0
  17. package/dist/select-CKHEHpJL.js +80 -0
  18. package/dist/select.js +5 -0
  19. package/dist/{tag-XX1_lffX.js → tag-B2qhuHjk.js} +9 -2
  20. package/dist/tag-BY32Hj5n.js +44 -0
  21. package/dist/tag.js +2 -2
  22. package/dist/text-input-DOUGu0A2.js +180 -0
  23. package/dist/text-input-t-iE4dFj.js +130 -0
  24. package/dist/text-input.js +5 -0
  25. package/dist/types/checkbox.d.ts +2 -0
  26. package/dist/types/components/button/Button.vue.d.ts +7 -4
  27. package/dist/types/components/button/button.options.d.ts +8 -0
  28. package/dist/types/components/button/button.types.d.ts +11 -6
  29. package/dist/types/components/checkbox/Checkbox.vue.d.ts +26 -0
  30. package/dist/types/components/checkbox/VueCheckbox.vue.d.ts +24 -0
  31. package/dist/types/components/checkbox/checkbox.types.d.ts +14 -0
  32. package/dist/types/components/select/Select.vue.d.ts +26 -0
  33. package/dist/types/components/select/VueSelect.vue.d.ts +24 -0
  34. package/dist/types/components/select/select.types.d.ts +12 -0
  35. package/dist/types/components/tag/Tag.vue.d.ts +3 -3
  36. package/dist/types/components/tag/tag.options.d.ts +4 -0
  37. package/dist/types/components/tag/tag.types.d.ts +7 -6
  38. package/dist/types/components/text-input/TextInput.vue.d.ts +41 -0
  39. package/dist/types/components/text-input/VueTextInput.vue.d.ts +34 -0
  40. package/dist/types/components/text-input/text-input.types.d.ts +20 -0
  41. package/dist/types/elements/button.d.ts +4 -3
  42. package/dist/types/elements/checkbox.d.ts +4 -0
  43. package/dist/types/elements/index.d.ts +8 -0
  44. package/dist/types/elements/select.d.ts +4 -0
  45. package/dist/types/elements/tag.d.ts +4 -3
  46. package/dist/types/elements/text-input.d.ts +4 -0
  47. package/dist/types/select.d.ts +2 -0
  48. package/dist/types/text-input.d.ts +2 -0
  49. package/dist/types/vue/button.d.ts +2 -1
  50. package/dist/types/vue/checkbox.d.ts +2 -0
  51. package/dist/types/vue/index.d.ts +10 -2
  52. package/dist/types/vue/select.d.ts +2 -0
  53. package/dist/types/vue/tag.d.ts +2 -1
  54. package/dist/types/vue/text-input.d.ts +2 -0
  55. package/dist/vue-button.js +2 -2
  56. package/dist/vue-checkbox.js +2 -0
  57. package/dist/vue-select.js +2 -0
  58. package/dist/vue-tag.js +2 -2
  59. package/dist/vue-text-input.js +2 -0
  60. package/dist/vue.js +6 -3
  61. package/package.json +53 -12
  62. package/dist/button-BxUIuMAv.js +0 -38
  63. package/dist/button-C5MSESb5.js +0 -35
  64. package/dist/tag-BGpa_wYn.js +0 -37
package/README.md CHANGED
@@ -1,35 +1,34 @@
1
1
  # @nilloq/ouds-web
2
2
 
3
- Vue components and framework-independent custom elements built from the same Vue source and styled with [OUDS Web 1.5](https://web.unified-design-system.orange.com/orange/docs/1.5/).
3
+ OUDS Web 1.5 components available as Vue components and framework-independent Web Components (custom elements). Both APIs provide **Button**, **Tag**, **Checkbox**, **Select**, and **Text Input**. The playground demonstrates the components.
4
4
 
5
5
  ## Vue components
6
6
 
7
- Import Vue components from `@nilloq/ouds-web/vue`. These are regular Vue components, so Nuxt can render their native markup during SSR and hydrate it as part of the Vue app.
7
+ Import components from `@nilloq/ouds-web/vue` and use them in your Vue templates. These are regular Vue components and support server-side rendering. For example:
8
8
 
9
9
  ```vue
10
10
  <script setup lang="ts">
11
- import { OudsButton, OudsTag } from "@nilloq/ouds-web/vue";
11
+ import { OudsButton } from "@nilloq/ouds-web/vue";
12
12
  </script>
13
13
 
14
14
  <template>
15
- <OudsButton variant="brand">Continue</OudsButton>
16
- <OudsTag variant="positive">Ready</OudsTag>
15
+ <OudsButton>Continue</OudsButton>
17
16
  </template>
18
17
  ```
19
18
 
20
- For individual imports, use `@nilloq/ouds-web/vue/button` or `@nilloq/ouds-web/vue/tag`. Vue is an optional peer dependency, required only when using this Vue API. Load OUDS Web CSS in the consuming app.
19
+ Use the same pattern for the other components by importing their `Ouds…` component from the Vue entry point. For individual imports, use the matching subpath, such as `@nilloq/ouds-web/vue/button` or `@nilloq/ouds-web/vue/select`. Vue is an optional peer dependency, required only when using this API. Load OUDS Web CSS in the consuming app.
21
20
 
22
- ## Button
21
+ ## Web components (custom elements)
23
22
 
24
- The package provides `<ouds-button>` as a custom element. It is generated from the same Vue single-file component as the Vue API. Vue is bundled into the custom element build, so consumers do not need to use or install Vue. It renders into the light DOM so the page's OUDS stylesheet styles its native button.
23
+ Custom elements can be used without a framework. They render in the light DOM so the page's OUDS stylesheet can style their native HTML. Vue is bundled into the custom element build, so consumers do not need to install or use Vue.
25
24
 
26
- ### Install and load OUDS styles
25
+ Install the package:
27
26
 
28
27
  ```sh
29
28
  npm install @nilloq/ouds-web
30
29
  ```
31
30
 
32
- Include the OUDS Web Orange stylesheet in the consuming page. The button element does not load global design-system styles automatically.
31
+ Include the OUDS Web Orange stylesheet in the consuming page. The components do not load global design-system styles automatically.
33
32
 
34
33
  ```html
35
34
  <link
@@ -40,23 +39,17 @@ Include the OUDS Web Orange stylesheet in the consuming page. The button element
40
39
  />
41
40
  ```
42
41
 
43
- ### Use in plain HTML
44
-
45
- When using a bundler, import the package once to register `<ouds-button>`:
42
+ When using a bundler, import the package once to register all custom elements. Then use the matching HTML tag. For example:
46
43
 
47
44
  ```js
48
45
  import "@nilloq/ouds-web";
49
46
  ```
50
47
 
51
- Then use it like any HTML element:
52
-
53
48
  ```html
54
- <ouds-button>Default</ouds-button>
55
- <ouds-button variant="brand">Continue</ouds-button>
56
- <ouds-button variant="negative" disabled>Delete</ouds-button>
49
+ <ouds-button>Continue</ouds-button>
57
50
  ```
58
51
 
59
- Without a bundler, load the published ES module directly:
52
+ The same pattern applies to the other elements: `<ouds-tag>`, `<ouds-checkbox>`, `<ouds-select>`, and `<ouds-text-input>`. Without a bundler, load the published ES module directly:
60
53
 
61
54
  ```html
62
55
  <script
@@ -65,31 +58,15 @@ Without a bundler, load the published ES module directly:
65
58
  ></script>
66
59
  ```
67
60
 
68
- The root import registers all components. You can also import the explicit custom element API from `@nilloq/ouds-web/components`. To import only one component, use its subpath and call its registration helper:
61
+ To register only one custom element, import its subpath and call its `defineOuds…()` helper. For example:
69
62
 
70
63
  ```ts
71
- import { defineOudsButton, OudsButton } from "@nilloq/ouds-web/button";
64
+ import { defineOudsButton } from "@nilloq/ouds-web/button";
72
65
 
73
66
  defineOudsButton();
74
67
  ```
75
68
 
76
- The subpath exports the `OudsButton` custom-element constructor and types without registering it automatically. `@nilloq/ouds-web/components/button` and `@nilloq/ouds-web/button` are equivalent. The tag equivalents are `@nilloq/ouds-web/components/tag` and `@nilloq/ouds-web/tag`.
77
-
78
- Supported `variant` values are `default` (the default), `strong`, `brand`, `minimal`, and `negative`. Unknown values fall back to `default`. The `disabled` attribute disables the native button. `type` accepts `button` (the default), `submit`, or `reset`; unknown values fall back to `button`.
79
-
80
- OUDS button classes are `.btn` and `.btn-default`, `.btn-strong`, `.btn-brand`, `.btn-minimal`, or `.btn-negative`. See the [OUDS Web button guidance](https://web.unified-design-system.orange.com/orange/docs/1.5/components/buttons/) for design and accessibility details.
81
-
82
- ## Tag
83
-
84
- `<ouds-tag>` is an informational tag. It renders a native `<span>` with OUDS classes and does not add interaction. The `variant` attribute accepts `neutral` (default), `accent`, `positive`, `info`, `warning`, or `negative`. Functional variants include OUDS's status icon. Set `muted` for the muted appearance or `size="small"` for the smaller size.
85
-
86
- ```html
87
- <ouds-tag>Category</ouds-tag>
88
- <ouds-tag variant="accent" muted>Featured</ouds-tag>
89
- <ouds-tag variant="warning" size="small">Maintenance</ouds-tag>
90
- ```
91
-
92
- The tag subpath exports the `OudsTag` custom-element constructor and `defineOudsTag()` registration function. For removable tags, use a separate interactive input-tag component rather than this informational tag. See the [OUDS Web tag examples](https://web.unified-design-system.orange.com/orange/docs/1.5/components/table/) for current variant markup.
69
+ The subpath exports the component constructor and types without registering it automatically. The same subpath pattern is available for `tag`, `checkbox`, `select`, and `text-input`; the corresponding `components/…` subpaths are equivalent.
93
70
 
94
71
  ## Development
95
72
 
@@ -0,0 +1,79 @@
1
+ import { a as e, b as t, c as n, f as r, i, o as a, r as o, t as s, u as c, y as l } from "./runtime-dom.esm-bundler-BzNNnH8h.js";
2
+ //#region src/components/button/Button.vue?vue&type=script&setup=true&lang.ts
3
+ var u = ["type", "disabled"], d = {
4
+ key: 0,
5
+ class: "visually-hidden"
6
+ }, f = {
7
+ key: 1,
8
+ viewBox: "0 0 40 40",
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ class: "loader",
11
+ "aria-hidden": "true"
12
+ }, p = {
13
+ key: 2,
14
+ role: "status",
15
+ class: "visually-hidden"
16
+ }, m = /* @__PURE__ */ n({
17
+ __name: "Button",
18
+ props: {
19
+ type: { default: "button" },
20
+ variant: { default: "default" },
21
+ size: { default: "medium" },
22
+ iconOnly: {
23
+ type: Boolean,
24
+ default: !1
25
+ },
26
+ ariaLabel: {},
27
+ navigation: {},
28
+ disabled: {
29
+ type: Boolean,
30
+ default: !1
31
+ },
32
+ loading: {
33
+ type: Boolean,
34
+ default: !1
35
+ }
36
+ },
37
+ setup(n) {
38
+ let s = o(() => [
39
+ "btn",
40
+ `btn-${n.variant}`,
41
+ {
42
+ "btn-icon": n.iconOnly,
43
+ "btn-small": n.size === "small",
44
+ "loading-indeterminate": n.loading
45
+ },
46
+ ...n.navigation ? [`btn-${n.navigation}`] : []
47
+ ]), m = o(() => n.type === "submit" || n.type === "reset" ? n.type : "button");
48
+ return (o, h) => (c(), a("button", {
49
+ class: l(s.value),
50
+ type: m.value,
51
+ disabled: n.disabled || n.loading
52
+ }, [
53
+ r(o.$slots, "default"),
54
+ n.ariaLabel ? (c(), a("span", d, t(n.ariaLabel), 1)) : e("", !0),
55
+ n.loading ? (c(), a("svg", f, [...h[0] ||= [i("circle", {
56
+ class: "loader-inner",
57
+ cx: "20",
58
+ cy: "20",
59
+ r: "17"
60
+ }, null, -1)]])) : e("", !0),
61
+ n.loading ? (c(), a("span", p, "Loading")) : e("", !0)
62
+ ], 10, u));
63
+ }
64
+ }), h = [
65
+ "default",
66
+ "strong",
67
+ "brand",
68
+ "minimal",
69
+ "negative"
70
+ ], g = ["medium", "small"], _ = [
71
+ "button",
72
+ "submit",
73
+ "reset"
74
+ ], v = ["previous", "next"], y = s(m, { shadowRoot: !1 });
75
+ function b() {
76
+ typeof customElements < "u" && (customElements.get("ouds-button") || customElements.define("ouds-button", y));
77
+ }
78
+ //#endregion
79
+ export { _ as a, g as i, b as n, h as o, v as r, y as t };
@@ -0,0 +1,76 @@
1
+ import { computed as e, createCommentVNode as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, renderSlot as s, toDisplayString as c } from "vue";
2
+ //#region src/components/button/Button.vue?vue&type=script&setup=true&lang.ts
3
+ var l = ["type", "disabled"], u = {
4
+ key: 0,
5
+ class: "visually-hidden"
6
+ }, d = {
7
+ key: 1,
8
+ viewBox: "0 0 40 40",
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ class: "loader",
11
+ "aria-hidden": "true"
12
+ }, f = {
13
+ key: 2,
14
+ role: "status",
15
+ class: "visually-hidden"
16
+ }, p = /* @__PURE__ */ i({
17
+ __name: "Button",
18
+ props: {
19
+ type: { default: "button" },
20
+ variant: { default: "default" },
21
+ size: { default: "medium" },
22
+ iconOnly: {
23
+ type: Boolean,
24
+ default: !1
25
+ },
26
+ ariaLabel: {},
27
+ navigation: {},
28
+ disabled: {
29
+ type: Boolean,
30
+ default: !1
31
+ },
32
+ loading: {
33
+ type: Boolean,
34
+ default: !1
35
+ }
36
+ },
37
+ setup(i) {
38
+ let p = e(() => [
39
+ "btn",
40
+ `btn-${i.variant}`,
41
+ {
42
+ "btn-icon": i.iconOnly,
43
+ "btn-small": i.size === "small",
44
+ "loading-indeterminate": i.loading
45
+ },
46
+ ...i.navigation ? [`btn-${i.navigation}`] : []
47
+ ]), m = e(() => i.type === "submit" || i.type === "reset" ? i.type : "button");
48
+ return (e, h) => (o(), n("button", {
49
+ class: a(p.value),
50
+ type: m.value,
51
+ disabled: i.disabled || i.loading
52
+ }, [
53
+ s(e.$slots, "default"),
54
+ i.ariaLabel ? (o(), n("span", u, c(i.ariaLabel), 1)) : t("", !0),
55
+ i.loading ? (o(), n("svg", d, [...h[0] ||= [r("circle", {
56
+ class: "loader-inner",
57
+ cx: "20",
58
+ cy: "20",
59
+ r: "17"
60
+ }, null, -1)]])) : t("", !0),
61
+ i.loading ? (o(), n("span", f, "Loading")) : t("", !0)
62
+ ], 10, l));
63
+ }
64
+ }), m = [
65
+ "default",
66
+ "strong",
67
+ "brand",
68
+ "minimal",
69
+ "negative"
70
+ ], h = ["medium", "small"], g = [
71
+ "button",
72
+ "submit",
73
+ "reset"
74
+ ], _ = ["previous", "next"];
75
+ //#endregion
76
+ export { p as a, m as i, h as n, g as r, _ as t };
package/dist/button.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./button-BxUIuMAv.js";
2
- export { t as OudsButton, e as defineOudsButton };
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "./button-BPOKh6G4.js";
2
+ export { a as OudsButton, i as buttonNavigations, t as buttonSizes, e as buttonTypes, r as buttonVariants, n as defineOudsButton };
@@ -0,0 +1,105 @@
1
+ import { computed as e, createBlock as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createSlots as a, createTextVNode as o, defineComponent as s, mergeModels as c, mergeProps as l, normalizeClass as u, openBlock as d, ref as f, renderSlot as p, toDisplayString as m, unref as h, useAttrs as g, useId as _, useModel as v, watchEffect as y, withCtx as b } from "vue";
2
+ //#region src/components/checkbox/Checkbox.vue?vue&type=script&setup=true&lang.ts
3
+ var x = { class: "control-item-assets-container" }, S = [
4
+ "id",
5
+ "value",
6
+ "checked",
7
+ "disabled",
8
+ "required",
9
+ "aria-describedby"
10
+ ], C = { class: "control-item-text-container" }, w = ["for"], T = ["id"], E = {
11
+ key: 0,
12
+ class: "control-item-assets-container"
13
+ }, D = /* @__PURE__ */ s({
14
+ inheritAttrs: !1,
15
+ __name: "Checkbox",
16
+ props: {
17
+ id: {},
18
+ label: { default: "Checkbox" },
19
+ description: { default: "" },
20
+ value: { default: "" },
21
+ checked: {
22
+ type: Boolean,
23
+ default: !1
24
+ },
25
+ disabled: {
26
+ type: Boolean,
27
+ default: !1
28
+ },
29
+ required: {
30
+ type: Boolean,
31
+ default: !1
32
+ },
33
+ divider: {
34
+ type: Boolean,
35
+ default: !1
36
+ },
37
+ indeterminate: {
38
+ type: Boolean,
39
+ default: !1
40
+ }
41
+ },
42
+ setup(t) {
43
+ let a = g(), s = f(), c = _(), v = e(() => t.id || `ouds-checkbox-${c}`), b = e(() => `${v.value}-description`), D = e(() => {
44
+ let e = [a["aria-describedby"]];
45
+ return t.description && e.push(b.value), e.filter(Boolean).join(" ") || void 0;
46
+ }), O = e(() => ["checkbox-item", { "control-item-divider": t.divider }]);
47
+ return y(() => {
48
+ s.value && (s.value.indeterminate = t.indeterminate);
49
+ }), (e, c) => (d(), r("div", { class: u(O.value) }, [
50
+ i("div", x, [i("input", l({
51
+ ref_key: "input",
52
+ ref: s
53
+ }, h(a), {
54
+ id: v.value,
55
+ class: "control-item-indicator",
56
+ type: "checkbox",
57
+ value: t.value,
58
+ checked: t.checked,
59
+ disabled: t.disabled,
60
+ required: t.required,
61
+ "aria-describedby": D.value
62
+ }), null, 16, S)]),
63
+ i("div", C, [i("label", {
64
+ class: "control-item-label",
65
+ for: v.value
66
+ }, [p(e.$slots, "label", {}, () => [o(m(t.label), 1)])], 8, w), t.description ? (d(), r("p", {
67
+ key: 0,
68
+ id: b.value,
69
+ class: "control-item-description"
70
+ }, m(t.description), 9, T)) : n("", !0)]),
71
+ e.$slots.asset ? (d(), r("div", E, [p(e.$slots, "asset")])) : n("", !0)
72
+ ], 2));
73
+ }
74
+ }), O = /* @__PURE__ */ s({
75
+ inheritAttrs: !1,
76
+ __name: "VueCheckbox",
77
+ props: {
78
+ modelValue: {
79
+ type: Boolean,
80
+ default: !1
81
+ },
82
+ modelModifiers: {}
83
+ },
84
+ emits: /*@__PURE__*/ c(["change"], ["update:modelValue"]),
85
+ setup(e, { emit: n }) {
86
+ let r = v(e, "modelValue"), i = n;
87
+ function o(e) {
88
+ r.value = e.target.checked, i("change", e);
89
+ }
90
+ return (e, n) => (d(), t(D, l(e.$attrs, {
91
+ checked: r.value,
92
+ onChange: o
93
+ }), a({ _: 2 }, [e.$slots.label ? {
94
+ name: "label",
95
+ fn: b(() => [p(e.$slots, "label")]),
96
+ key: "0"
97
+ } : void 0, e.$slots.asset ? {
98
+ name: "asset",
99
+ fn: b(() => [p(e.$slots, "asset")]),
100
+ key: "1"
101
+ } : void 0]), 1040, ["checked"]));
102
+ }
103
+ });
104
+ //#endregion
105
+ export { O as t };
@@ -0,0 +1,79 @@
1
+ import { _ as e, a as t, b as n, c as r, f as i, g as a, i as o, l as s, m as c, o as l, p as u, r as d, s as f, t as p, u as m, v as h, y as g } from "./runtime-dom.esm-bundler-BzNNnH8h.js";
2
+ //#region src/components/checkbox/Checkbox.vue?vue&type=script&setup=true&lang.ts
3
+ var _ = { class: "control-item-assets-container" }, v = [
4
+ "id",
5
+ "value",
6
+ "checked",
7
+ "disabled",
8
+ "required",
9
+ "aria-describedby"
10
+ ], y = { class: "control-item-text-container" }, b = ["for"], x = ["id"], S = {
11
+ key: 0,
12
+ class: "control-item-assets-container"
13
+ }, C = p(/* @__PURE__ */ r({
14
+ inheritAttrs: !1,
15
+ __name: "Checkbox",
16
+ props: {
17
+ id: {},
18
+ label: { default: "Checkbox" },
19
+ description: { default: "" },
20
+ value: { default: "" },
21
+ checked: {
22
+ type: Boolean,
23
+ default: !1
24
+ },
25
+ disabled: {
26
+ type: Boolean,
27
+ default: !1
28
+ },
29
+ required: {
30
+ type: Boolean,
31
+ default: !1
32
+ },
33
+ divider: {
34
+ type: Boolean,
35
+ default: !1
36
+ },
37
+ indeterminate: {
38
+ type: Boolean,
39
+ default: !1
40
+ }
41
+ },
42
+ setup(r) {
43
+ let p = u(), C = e(), w = c(), T = d(() => r.id || `ouds-checkbox-${w}`), E = d(() => `${T.value}-description`), D = d(() => {
44
+ let e = [p["aria-describedby"]];
45
+ return r.description && e.push(E.value), e.filter(Boolean).join(" ") || void 0;
46
+ }), O = d(() => ["checkbox-item", { "control-item-divider": r.divider }]);
47
+ return a(() => {
48
+ C.value && (C.value.indeterminate = r.indeterminate);
49
+ }), (e, a) => (m(), l("div", { class: g(O.value) }, [
50
+ o("div", _, [o("input", s({
51
+ ref_key: "input",
52
+ ref: C
53
+ }, h(p), {
54
+ id: T.value,
55
+ class: "control-item-indicator",
56
+ type: "checkbox",
57
+ value: r.value,
58
+ checked: r.checked,
59
+ disabled: r.disabled,
60
+ required: r.required,
61
+ "aria-describedby": D.value
62
+ }), null, 16, v)]),
63
+ o("div", y, [o("label", {
64
+ class: "control-item-label",
65
+ for: T.value
66
+ }, [i(e.$slots, "label", {}, () => [f(n(r.label), 1)])], 8, b), r.description ? (m(), l("p", {
67
+ key: 0,
68
+ id: E.value,
69
+ class: "control-item-description"
70
+ }, n(r.description), 9, x)) : t("", !0)]),
71
+ e.$slots.asset ? (m(), l("div", S, [i(e.$slots, "asset")])) : t("", !0)
72
+ ], 2));
73
+ }
74
+ }), { shadowRoot: !1 });
75
+ function w() {
76
+ typeof customElements < "u" && (customElements.get("ouds-checkbox") || customElements.define("ouds-checkbox", C));
77
+ }
78
+ //#endregion
79
+ export { w as n, C as t };
@@ -0,0 +1,5 @@
1
+ import { n as e, t } from "./checkbox-D-A_bSBK.js";
2
+ //#region src/checkbox.ts
3
+ e();
4
+ //#endregion
5
+ export { t as OudsCheckbox, e as defineOudsCheckbox };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./button-BxUIuMAv.js";
2
- export { t as OudsButton, e as defineOudsButton };
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "./button-BPOKh6G4.js";
2
+ export { a as OudsButton, i as buttonNavigations, t as buttonSizes, e as buttonTypes, r as buttonVariants, n as defineOudsButton };
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "./checkbox-D-A_bSBK.js";
2
+ export { t as OudsCheckbox, e as defineOudsCheckbox };
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "./select-CA6TVlpX.js";
2
+ export { t as OudsSelect, e as defineOudsSelect };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./tag-BGpa_wYn.js";
2
- export { t as OudsTag, e as defineOudsTag };
1
+ import { i as e, n as t, r as n, t as r } from "./tag-BY32Hj5n.js";
2
+ export { r as OudsTag, t as defineOudsTag, n as tagSizes, e as tagVariants };
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "./text-input-t-iE4dFj.js";
2
+ export { t as OudsTextInput, e as defineOudsTextInput };
package/dist/elements.js CHANGED
@@ -1,5 +1,8 @@
1
- import { n as e, t } from "./button-BxUIuMAv.js";
2
- import { n, t as r } from "./tag-BGpa_wYn.js";
3
- e(), n();
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "./button-BPOKh6G4.js";
2
+ import { i as o, n as s, r as c, t as l } from "./tag-BY32Hj5n.js";
3
+ import { n as u, t as d } from "./select-CA6TVlpX.js";
4
+ import { n as f, t as p } from "./checkbox-D-A_bSBK.js";
5
+ import { n as m, t as h } from "./text-input-t-iE4dFj.js";
6
+ n(), s(), u(), f(), m();
4
7
  //#endregion
5
- export { t as OudsButton, r as OudsTag, e as defineOudsButton, n as defineOudsTag };
8
+ export { a as OudsButton, p as OudsCheckbox, d as OudsSelect, l as OudsTag, h as OudsTextInput, i as buttonNavigations, t as buttonSizes, e as buttonTypes, r as buttonVariants, n as defineOudsButton, f as defineOudsCheckbox, u as defineOudsSelect, s as defineOudsTag, m as defineOudsTextInput, c as tagSizes, o as tagVariants };
package/dist/index.js CHANGED
@@ -1,4 +1,7 @@
1
- import { n as e, t } from "./button-BxUIuMAv.js";
2
- import { n, t as r } from "./tag-BGpa_wYn.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "./button-BPOKh6G4.js";
2
+ import { i as o, n as s, r as c, t as l } from "./tag-BY32Hj5n.js";
3
+ import { n as u, t as d } from "./select-CA6TVlpX.js";
4
+ import { n as f, t as p } from "./checkbox-D-A_bSBK.js";
5
+ import { n as m, t as h } from "./text-input-t-iE4dFj.js";
3
6
  import "./elements.js";
4
- export { t as OudsButton, r as OudsTag, e as defineOudsButton, n as defineOudsTag };
7
+ export { a as OudsButton, p as OudsCheckbox, d as OudsSelect, l as OudsTag, h as OudsTextInput, i as buttonNavigations, t as buttonSizes, e as buttonTypes, r as buttonVariants, n as defineOudsButton, f as defineOudsCheckbox, u as defineOudsSelect, s as defineOudsTag, m as defineOudsTextInput, c as tagSizes, o as tagVariants };