@rarui/components 0.0.0-rc.2 → 1.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/rarui-tabs.cjs.entry.js +5 -5
  3. package/dist/cjs/rarui-tabs.cjs.entry.js.map +1 -1
  4. package/dist/cjs/tslib.es6-512c1da2.js.map +1 -1
  5. package/dist/collection/exhibition/Text/dist/cjs/{index-d70084e6.js → index-3ec8ced4.js} +75 -62
  6. package/dist/collection/exhibition/Text/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/collection/exhibition/Text/dist/cjs/rarui-text.cjs.entry.js +61 -0
  8. package/dist/collection/exhibition/{Title/dist/cjs/rarui-button.cjs.js → Text/dist/cjs/rarui-text.cjs.js} +4 -4
  9. package/dist/collection/exhibition/Text/dist/collection/Text.js +66 -0
  10. package/dist/collection/exhibition/Text/dist/esm/{index-51e345c1.js → index-1f85a271.js} +76 -62
  11. package/dist/collection/exhibition/Text/dist/esm/loader.js +3 -3
  12. package/dist/collection/exhibition/Text/dist/esm/rarui-text.entry.js +57 -0
  13. package/dist/collection/exhibition/{Title/dist/esm/rarui-button.js → Text/dist/esm/rarui-text.js} +4 -4
  14. package/dist/collection/exhibition/Text/dist/rarui-text/p-8c86be47.js +3 -0
  15. package/dist/collection/exhibition/Text/dist/rarui-text/p-e76f1dd3.entry.js +2 -0
  16. package/dist/collection/exhibition/Text/dist/rarui-text/rarui-text.esm.js +2 -0
  17. package/dist/collection/exhibition/Text/src/Text.js.map +1 -1
  18. package/dist/collection/exhibition/Text/src/index.js.map +1 -1
  19. package/dist/collection/exhibition/Text/stencil.config.js.map +1 -1
  20. package/dist/collection/exhibition/Title/dist/cjs/{index-d70084e6.js → index-5520d5db.js} +75 -62
  21. package/dist/collection/exhibition/Title/dist/cjs/loader.cjs.js +2 -2
  22. package/dist/collection/exhibition/Title/dist/cjs/rarui-title.cjs.entry.js +61 -0
  23. package/dist/collection/exhibition/{Text/dist/cjs/rarui-button.cjs.js → Title/dist/cjs/rarui-title.cjs.js} +4 -4
  24. package/dist/collection/exhibition/Title/dist/collection/Title.js +66 -0
  25. package/dist/collection/exhibition/Title/dist/esm/{index-51e345c1.js → index-56b85c26.js} +76 -62
  26. package/dist/collection/exhibition/Title/dist/esm/loader.js +3 -3
  27. package/dist/collection/exhibition/Title/dist/esm/rarui-title.entry.js +57 -0
  28. package/dist/collection/exhibition/{Text/dist/esm/rarui-button.js → Title/dist/esm/rarui-title.js} +4 -4
  29. package/dist/collection/exhibition/Title/dist/rarui-title/p-3c4134da.entry.js +2 -0
  30. package/dist/collection/exhibition/Title/dist/rarui-title/p-4a3ef014.js +3 -0
  31. package/dist/collection/exhibition/Title/dist/rarui-title/rarui-title.esm.js +2 -0
  32. package/dist/collection/exhibition/Title/src/Title.js.map +1 -1
  33. package/dist/collection/exhibition/Title/src/index.js.map +1 -1
  34. package/dist/collection/exhibition/Title/stencil.config.js.map +1 -1
  35. package/dist/collection/input/Button/src/Button.js.map +1 -1
  36. package/dist/collection/input/Button/src/index.js.map +1 -1
  37. package/dist/collection/input/Button/stencil.config.js.map +1 -1
  38. package/dist/collection/layout/Box/dist/cjs/rarui-box.cjs.entry.js +2 -2
  39. package/dist/collection/layout/Box/dist/collection/Box.js +3 -3
  40. package/dist/collection/layout/Box/dist/esm/rarui-box.entry.js +3 -3
  41. package/dist/collection/layout/Box/dist/rarui-box/p-17f6d8d5.entry.js +2 -0
  42. package/dist/collection/layout/Box/dist/rarui-box/rarui-box.esm.js +1 -1
  43. package/dist/collection/layout/Box/src/Box.js.map +1 -1
  44. package/dist/collection/layout/Box/src/index.js.map +1 -1
  45. package/dist/collection/layout/Box/stencil.config.js.map +1 -1
  46. package/dist/collection/navigation/Tabs/Item/src/Item.js.map +1 -1
  47. package/dist/collection/navigation/Tabs/Item/src/index.js.map +1 -1
  48. package/dist/collection/navigation/Tabs/Item/stencil.config.js.map +1 -1
  49. package/dist/collection/navigation/Tabs/Root/dist/cjs/rarui-tabs.cjs.entry.js +5 -5
  50. package/dist/collection/navigation/Tabs/Root/dist/collection/Root.js +5 -5
  51. package/dist/collection/navigation/Tabs/Root/dist/esm/rarui-tabs.entry.js +5 -5
  52. package/dist/collection/navigation/Tabs/Root/dist/rarui-tabs/p-2a3192f2.entry.js +2 -0
  53. package/dist/collection/navigation/Tabs/Root/dist/rarui-tabs/rarui-tabs.esm.js +1 -1
  54. package/dist/collection/navigation/Tabs/Root/src/Root.js +5 -5
  55. package/dist/collection/navigation/Tabs/Root/src/Root.js.map +1 -1
  56. package/dist/collection/navigation/Tabs/Root/src/index.js.map +1 -1
  57. package/dist/collection/navigation/Tabs/Root/stencil.config.js.map +1 -1
  58. package/dist/esm/rarui-box.entry.js +1 -1
  59. package/dist/esm/rarui-tabs.entry.js +5 -5
  60. package/dist/esm/rarui-tabs.entry.js.map +1 -1
  61. package/dist/esm/rarui-title.entry.js +1 -1
  62. package/dist/esm/tslib.es6-46fef1fc.js.map +1 -1
  63. package/dist/rarui-components/p-460d0eb2.entry.js +2 -0
  64. package/dist/rarui-components/p-460d0eb2.entry.js.map +1 -0
  65. package/dist/rarui-components/p-8495565d.js.map +1 -1
  66. package/dist/rarui-components/p-8a339b04.entry.js +2 -0
  67. package/dist/rarui-components/{p-1143c26a.entry.js → p-98b92162.entry.js} +2 -2
  68. package/dist/rarui-components/rarui-components.esm.js +1 -1
  69. package/dist/types/exhibition/Text/dist/types/Text.d.ts +7 -0
  70. package/dist/types/exhibition/Title/dist/types/Title.d.ts +7 -0
  71. package/dist/types/navigation/Tabs/Root/dist/types/Root.d.ts +1 -1
  72. package/dist/types/navigation/Tabs/Root/src/Root.d.ts +1 -1
  73. package/package.json +7 -6
  74. package/dist/collection/exhibition/Text/dist/cjs/rarui-button.cjs.entry.js +0 -35
  75. package/dist/collection/exhibition/Text/dist/collection/Button.js +0 -233
  76. package/dist/collection/exhibition/Text/dist/esm/rarui-button.entry.js +0 -31
  77. package/dist/collection/exhibition/Text/dist/rarui-button/p-54ec5e00.js +0 -3
  78. package/dist/collection/exhibition/Text/dist/rarui-button/p-e35c2483.entry.js +0 -2
  79. package/dist/collection/exhibition/Text/dist/rarui-button/rarui-button.esm.js +0 -2
  80. package/dist/collection/exhibition/Text/src/text.stories.js +0 -66
  81. package/dist/collection/exhibition/Text/src/text.stories.js.map +0 -1
  82. package/dist/collection/exhibition/Title/dist/cjs/rarui-button.cjs.entry.js +0 -35
  83. package/dist/collection/exhibition/Title/dist/collection/Button.js +0 -233
  84. package/dist/collection/exhibition/Title/dist/esm/rarui-button.entry.js +0 -31
  85. package/dist/collection/exhibition/Title/dist/rarui-button/p-54ec5e00.js +0 -3
  86. package/dist/collection/exhibition/Title/dist/rarui-button/p-e35c2483.entry.js +0 -2
  87. package/dist/collection/exhibition/Title/dist/rarui-button/rarui-button.esm.js +0 -2
  88. package/dist/collection/exhibition/Title/src/title.stories.js +0 -62
  89. package/dist/collection/exhibition/Title/src/title.stories.js.map +0 -1
  90. package/dist/collection/index.js +0 -2
  91. package/dist/collection/index.js.map +0 -1
  92. package/dist/collection/input/Button/src/button.stories.js +0 -70
  93. package/dist/collection/input/Button/src/button.stories.js.map +0 -1
  94. package/dist/collection/layout/Box/dist/rarui-box/p-8c90ee66.entry.js +0 -2
  95. package/dist/collection/layout/Box/src/box.stories.js +0 -54
  96. package/dist/collection/layout/Box/src/box.stories.js.map +0 -1
  97. package/dist/collection/navigation/Tabs/Item/src/item.stories.js +0 -17
  98. package/dist/collection/navigation/Tabs/Item/src/item.stories.js.map +0 -1
  99. package/dist/collection/navigation/Tabs/Root/dist/rarui-tabs/p-43fc3e90.entry.js +0 -2
  100. package/dist/collection/navigation/Tabs/Root/src/root.stories.js +0 -59
  101. package/dist/collection/navigation/Tabs/Root/src/root.stories.js.map +0 -1
  102. package/dist/rarui-components/p-2160244e.entry.js +0 -2
  103. package/dist/rarui-components/p-2160244e.entry.js.map +0 -1
  104. package/dist/rarui-components/p-4e227328.entry.js +0 -2
  105. package/dist/types/Users/juniorconquista/Desktop/Workdir/rarui/packages/implementations/web-components/.stencil/.storybook/utils.d.ts +0 -24
  106. package/dist/types/exhibition/Text/dist/types/Button.d.ts +0 -14
  107. package/dist/types/exhibition/Text/src/text.stories.d.ts +0 -21
  108. package/dist/types/exhibition/Title/dist/types/Button.d.ts +0 -14
  109. package/dist/types/exhibition/Title/src/title.stories.d.ts +0 -19
  110. package/dist/types/index.d.ts +0 -1
  111. package/dist/types/input/Button/src/button.stories.d.ts +0 -21
  112. package/dist/types/layout/Box/src/box.stories.d.ts +0 -13
  113. package/dist/types/navigation/Tabs/Item/src/item.stories.d.ts +0 -13
  114. package/dist/types/navigation/Tabs/Root/src/root.stories.d.ts +0 -15
  115. /package/dist/collection/exhibition/Text/dist/{rarui-button → rarui-text}/index.esm.js +0 -0
  116. /package/dist/collection/exhibition/Text/dist/{rarui-button → rarui-text}/p-e1255160.js +0 -0
  117. /package/dist/collection/exhibition/Title/dist/{rarui-button → rarui-title}/index.esm.js +0 -0
  118. /package/dist/collection/exhibition/Title/dist/{rarui-button → rarui-title}/p-e1255160.js +0 -0
  119. /package/dist/rarui-components/{p-4e227328.entry.js.map → p-8a339b04.entry.js.map} +0 -0
  120. /package/dist/rarui-components/{p-1143c26a.entry.js.map → p-98b92162.entry.js.map} +0 -0
@@ -1,233 +0,0 @@
1
- import { Host, h } from "@stencil/core";
2
- import { button } from "@rarui/styles";
3
- export class RaruiButton {
4
- constructor() {
5
- this.appearance = "brand";
6
- this.variant = "solid";
7
- this.size = "large";
8
- this.full = undefined;
9
- this.disabled = undefined;
10
- this.type = undefined;
11
- this.href = undefined;
12
- this.target = undefined;
13
- this.as = "button";
14
- }
15
- render() {
16
- const As = this.as;
17
- return (h(Host, { key: '89dcf501dcb03a095b34761343a6aa84fff54723' }, h(As, { key: '2f3ccccc501f595ea140e70da8da0b55592debfe', class: button.classnames.button({
18
- appearance: this.appearance,
19
- variant: this.variant,
20
- size: this.size,
21
- full: this.full,
22
- }), disabled: this.disabled, type: this.type, href: this.href, target: this.target }, h("slot", { key: '466fe7909948bd9205833359876d4738e9af53a7' }))));
23
- }
24
- static get is() { return "rarui-button"; }
25
- static get encapsulation() { return "scoped"; }
26
- static get properties() {
27
- return {
28
- "appearance": {
29
- "type": "string",
30
- "mutable": false,
31
- "complexType": {
32
- "original": "ButtonVariants[\"appearance\"]",
33
- "resolved": "\"brand\" | \"danger\" | \"inverted\" | \"neutral\" | \"success\" | \"warning\" | undefined",
34
- "references": {
35
- "ButtonVariants": {
36
- "location": "import",
37
- "path": "@rarui/styles",
38
- "id": "../../../../../styles/dist/index.d.ts::ButtonVariants"
39
- }
40
- }
41
- },
42
- "required": false,
43
- "optional": false,
44
- "docs": {
45
- "tags": [],
46
- "text": ""
47
- },
48
- "attribute": "appearance",
49
- "reflect": false,
50
- "defaultValue": "\"brand\""
51
- },
52
- "variant": {
53
- "type": "string",
54
- "mutable": false,
55
- "complexType": {
56
- "original": "ButtonVariants[\"variant\"]",
57
- "resolved": "\"outlined\" | \"solid\" | \"text\" | \"tonal\" | undefined",
58
- "references": {
59
- "ButtonVariants": {
60
- "location": "import",
61
- "path": "@rarui/styles",
62
- "id": "../../../../../styles/dist/index.d.ts::ButtonVariants"
63
- }
64
- }
65
- },
66
- "required": false,
67
- "optional": false,
68
- "docs": {
69
- "tags": [],
70
- "text": ""
71
- },
72
- "attribute": "variant",
73
- "reflect": false,
74
- "defaultValue": "\"solid\""
75
- },
76
- "size": {
77
- "type": "string",
78
- "mutable": false,
79
- "complexType": {
80
- "original": "ButtonVariants[\"size\"]",
81
- "resolved": "\"large\" | \"medium\" | \"small\" | undefined",
82
- "references": {
83
- "ButtonVariants": {
84
- "location": "import",
85
- "path": "@rarui/styles",
86
- "id": "../../../../../styles/dist/index.d.ts::ButtonVariants"
87
- }
88
- }
89
- },
90
- "required": false,
91
- "optional": false,
92
- "docs": {
93
- "tags": [],
94
- "text": ""
95
- },
96
- "attribute": "size",
97
- "reflect": false,
98
- "defaultValue": "\"large\""
99
- },
100
- "full": {
101
- "type": "boolean",
102
- "mutable": false,
103
- "complexType": {
104
- "original": "ButtonVariants[\"full\"]",
105
- "resolved": "boolean | undefined",
106
- "references": {
107
- "ButtonVariants": {
108
- "location": "import",
109
- "path": "@rarui/styles",
110
- "id": "../../../../../styles/dist/index.d.ts::ButtonVariants"
111
- }
112
- }
113
- },
114
- "required": false,
115
- "optional": false,
116
- "docs": {
117
- "tags": [],
118
- "text": ""
119
- },
120
- "attribute": "full",
121
- "reflect": false
122
- },
123
- "disabled": {
124
- "type": "boolean",
125
- "mutable": false,
126
- "complexType": {
127
- "original": "HTMLButtonElement[\"disabled\"]",
128
- "resolved": "boolean",
129
- "references": {
130
- "HTMLButtonElement": {
131
- "location": "global",
132
- "id": "global::HTMLButtonElement"
133
- }
134
- }
135
- },
136
- "required": false,
137
- "optional": false,
138
- "docs": {
139
- "tags": [],
140
- "text": ""
141
- },
142
- "attribute": "disabled",
143
- "reflect": false
144
- },
145
- "type": {
146
- "type": "string",
147
- "mutable": false,
148
- "complexType": {
149
- "original": "HTMLButtonElement[\"type\"]",
150
- "resolved": "\"button\" | \"reset\" | \"submit\"",
151
- "references": {
152
- "HTMLButtonElement": {
153
- "location": "global",
154
- "id": "global::HTMLButtonElement"
155
- }
156
- }
157
- },
158
- "required": false,
159
- "optional": false,
160
- "docs": {
161
- "tags": [],
162
- "text": ""
163
- },
164
- "attribute": "type",
165
- "reflect": false
166
- },
167
- "href": {
168
- "type": "string",
169
- "mutable": false,
170
- "complexType": {
171
- "original": "HTMLAnchorElement[\"href\"]",
172
- "resolved": "string",
173
- "references": {
174
- "HTMLAnchorElement": {
175
- "location": "global",
176
- "id": "global::HTMLAnchorElement"
177
- }
178
- }
179
- },
180
- "required": false,
181
- "optional": false,
182
- "docs": {
183
- "tags": [],
184
- "text": ""
185
- },
186
- "attribute": "href",
187
- "reflect": false
188
- },
189
- "target": {
190
- "type": "string",
191
- "mutable": false,
192
- "complexType": {
193
- "original": "HTMLAnchorElement[\"target\"]",
194
- "resolved": "string",
195
- "references": {
196
- "HTMLAnchorElement": {
197
- "location": "global",
198
- "id": "global::HTMLAnchorElement"
199
- }
200
- }
201
- },
202
- "required": false,
203
- "optional": false,
204
- "docs": {
205
- "tags": [],
206
- "text": ""
207
- },
208
- "attribute": "target",
209
- "reflect": false
210
- },
211
- "as": {
212
- "type": "string",
213
- "mutable": false,
214
- "complexType": {
215
- "original": "string",
216
- "resolved": "string",
217
- "references": {}
218
- },
219
- "required": false,
220
- "optional": false,
221
- "docs": {
222
- "tags": [],
223
- "text": ""
224
- },
225
- "attribute": "as",
226
- "reflect": false,
227
- "defaultValue": "\"button\""
228
- }
229
- };
230
- }
231
- static get elementRef() { return "el"; }
232
- }
233
- //# sourceMappingURL=Button.js.map
@@ -1,31 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-51e345c1.js';
2
- import { button } from '@rarui/styles';
3
-
4
- const RaruiButton = class {
5
- constructor(hostRef) {
6
- registerInstance(this, hostRef);
7
- this.appearance = "brand";
8
- this.variant = "solid";
9
- this.size = "large";
10
- this.full = undefined;
11
- this.disabled = undefined;
12
- this.type = undefined;
13
- this.href = undefined;
14
- this.target = undefined;
15
- this.as = "button";
16
- }
17
- render() {
18
- const As = this.as;
19
- return (h(Host, { key: '89dcf501dcb03a095b34761343a6aa84fff54723' }, h(As, { key: '2f3ccccc501f595ea140e70da8da0b55592debfe', class: button.classnames.button({
20
- appearance: this.appearance,
21
- variant: this.variant,
22
- size: this.size,
23
- full: this.full,
24
- }), disabled: this.disabled, type: this.type, href: this.href, target: this.target }, h("slot", { key: '466fe7909948bd9205833359876d4738e9af53a7' }))));
25
- }
26
- get el() { return getElement(this); }
27
- };
28
-
29
- export { RaruiButton as rarui_button };
30
-
31
- //# sourceMappingURL=rarui-button.entry.js.map
@@ -1,3 +0,0 @@
1
- const e="rarui-button";const t={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:false,cmpDidRender:false,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:false,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:false,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:false,element:false,event:false,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:false,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:false,lifecycleDOMEvents:false,member:true,method:false,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:false,propNumber:false,propString:true,reflect:false,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:false,slot:true,slotChildNodesFix:false,slotRelocation:true,state:false,style:false,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:false,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:false,vdomText:false,vdomXlink:false,watchCallback:false};var l=Object.defineProperty;var r=(e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:true})};var n=new WeakMap;var s=e=>n.get(e);var o=(e,t)=>n.set(t.t=e,t);var a=(e,t)=>{const l={l:0,$hostElement$:e,o:t,i:new Map};{l.u=new Promise((e=>l.v=e));e["s-p"]=[];e["s-rc"]=[]}return n.set(e,l)};var i=(e,t)=>t in e;var f=(e,t)=>(0,console.error)(e,t);var c=new Map;var u=(e,t,l)=>{const r=e.h.replace(/-/g,"_");const n=e.m;if(!n){return void 0}const s=c.get(n);if(s){return s[r]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${n}.entry.js${""}`).then((e=>{{c.set(n,e)}return e[r]}),f)};var v="{visibility:hidden}.hydrated{visibility:inherit}";var d="slot-fb{display:contents}slot-fb[hidden]{display:none}";var h=typeof window!=="undefined"?window:{};var m=h.document||{head:{}};var p={l:0,p:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,l,r)=>e.addEventListener(t,l,r),rel:(e,t,l,r)=>e.removeEventListener(t,l,r),ce:(e,t)=>new CustomEvent(e,t)};var y=t.shadowDom;var b=e=>Promise.resolve(e);var w=false;var $=[];var g=[];var S=(e,t)=>l=>{e.push(l);if(!w){w=true;if(t&&p.l&4){T(C)}else{p.raf(C)}}};var k=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){f(e)}}e.length=0};var C=()=>{k($);{k(g);if(w=$.length>0){p.raf(C)}}};var T=e=>b().then(e);var j=S(g,true);var x={};var O=e=>e!=null;var R=e=>{e=typeof e;return e==="object"||e==="function"};function L(e){var t,l,r;return(r=(l=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:l.getAttribute("content"))!=null?r:void 0}var D={};r(D,{err:()=>A,map:()=>F,ok:()=>E,unwrap:()=>M,unwrapErr:()=>N});var E=e=>({isOk:true,isErr:false,value:e});var A=e=>({isOk:false,isErr:true,value:e});function F(e,t){if(e.isOk){const l=t(e.value);if(l instanceof Promise){return l.then((e=>E(e)))}else{return E(l)}}if(e.isErr){const t=e.value;return A(t)}throw"should never get here"}var M=e=>{if(e.isOk){return e.value}else{throw e.value}};var N=e=>{if(e.isErr){return e.value}else{throw e.value}};var P=(e,t="")=>{{return()=>{}}};var U=(e,t)=>{{return()=>{}}};var W=(e,t,...l)=>{let r=null;let n=null;let s=null;let o=false;let a=false;const i=[];const f=t=>{for(let l=0;l<t.length;l++){r=t[l];if(Array.isArray(r)){f(r)}else if(r!=null&&typeof r!=="boolean"){if(o=typeof e!=="function"&&!R(r)){r=String(r)}if(o&&a){i[i.length-1].$+=r}else{i.push(o?B(null,r):r)}a=o}}};f(l);if(t){if(t.key){n=t.key}if(t.name){s=t.name}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,i,Q)}const c=B(e,null);c.S=t;if(i.length>0){c.k=i}{c.C=n}{c.T=s}return c};var B=(e,t)=>{const l={l:0,j:e,$:t,O:null,k:null};{l.S=null}{l.C=null}{l.T=null}return l};var H={};var z=e=>e&&e.j===H;var Q={forEach:(e,t)=>e.map(q).forEach(t),map:(e,t)=>e.map(q).map(t).map(G)};var q=e=>({vattrs:e.S,vchildren:e.k,vkey:e.C,vname:e.T,vtag:e.j,vtext:e.$});var G=e=>{if(typeof e.vtag==="function"){const t={...e.vattrs};if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return W(e.vtag,t,...e.vchildren||[])}const t=B(e.vtag,e.vtext);t.S=e.vattrs;t.k=e.vchildren;t.C=e.vkey;t.T=e.vname;return t};var I=(e,t)=>{if(e!=null&&!R(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&1){return String(e)}return e}return e};var K=e=>s(e).$hostElement$;var V=(e,t,l)=>{const r=p.ce(t,l);e.dispatchEvent(r);return r};var X=(e,t,l,r,n,s)=>{if(l!==r){let o=i(e,t);t.toLowerCase();if(t==="class"){const t=e.classList;const n=J(l);const s=J(r);t.remove(...n.filter((e=>e&&!s.includes(e))));t.add(...s.filter((e=>e&&!n.includes(e))))}else if(t==="key");else{const a=R(r);if((o||a&&r!==null)&&!n){try{if(!e.tagName.includes("-")){const n=r==null?"":r;if(t==="list"){o=false}else if(l==null||e[t]!=n){e[t]=n}}else{e[t]=r}}catch(e){}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!o||s&4||n)&&!a){r=r===true?"":r;{e.setAttribute(t,r)}}}}};var _=/\s/;var J=e=>!e?[]:e.split(_);var Y=(e,t,l)=>{const r=t.O.nodeType===11&&t.O.host?t.O.host:t.O;const n=e&&e.S||x;const s=t.S||x;{for(const e of Z(Object.keys(n))){if(!(e in s)){X(r,e,n[e],void 0,l,t.l)}}}for(const e of Z(Object.keys(s))){X(r,e,n[e],s[e],l,t.l)}};function Z(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var ee;var te;var le;var re=false;var ne=false;var se=false;var oe=false;var ae=(e,l,r,n)=>{var s;const o=l.k[r];let a=0;let i;let f;let c;if(!re){se=true;if(o.j==="slot"){if(ee){n.classList.add(ee+"-s")}o.l|=o.k?2:1}}if(o.l&1){i=o.O=m.createTextNode("")}else{i=o.O=m.createElement(!re&&t.slotRelocation&&o.l&2?"slot-fb":o.j);{Y(null,o,oe)}if(O(ee)&&i["s-si"]!==ee){i.classList.add(i["s-si"]=ee)}{Se(i,n)}if(o.k){for(a=0;a<o.k.length;++a){f=ae(e,o,a,i);if(f){i.appendChild(f)}}}}i["s-hn"]=le;{if(o.l&(2|1)){i["s-sr"]=true;i["s-cr"]=te;i["s-sn"]=o.T||"";i["s-rf"]=(s=o.S)==null?void 0:s.ref;c=e&&e.k&&e.k[r];if(c&&c.j===o.j&&e.O){{ie(e.O,false)}}}}return i};var ie=(e,l)=>{p.l|=1;const r=Array.from(e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;while(t=t.nextSibling){if(t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===le){r.push(t)}}}for(let e=r.length-1;e>=0;e--){const t=r[e];if(t["s-hn"]!==le&&t["s-ol"]){$e(he(t),t,de(t));t["s-ol"].remove();t["s-ol"]=void 0;t["s-sh"]=void 0;se=true}if(l){ie(t,l)}}p.l&=~1};var fe=(e,t,l,r,n,s)=>{let o=e["s-cr"]&&e["s-cr"].parentNode||e;let a;for(;n<=s;++n){if(r[n]){a=ae(null,l,n,e);if(a){r[n].O=a;$e(o,a,de(t))}}}};var ce=(e,t,l)=>{for(let r=t;r<=l;++r){const t=e[r];if(t){const e=t.O;if(e){{ne=true;if(e["s-ol"]){e["s-ol"].remove()}else{ie(e,true)}}e.remove()}}}};var ue=(e,t,l,r,n=false)=>{let s=0;let o=0;let a=0;let i=0;let f=t.length-1;let c=t[0];let u=t[f];let v=r.length-1;let d=r[0];let h=r[v];let m;let p;while(s<=f&&o<=v){if(c==null){c=t[++s]}else if(u==null){u=t[--f]}else if(d==null){d=r[++o]}else if(h==null){h=r[--v]}else if(ve(c,d,n)){me(c,d,n);c=t[++s];d=r[++o]}else if(ve(u,h,n)){me(u,h,n);u=t[--f];h=r[--v]}else if(ve(c,h,n)){if(c.j==="slot"||h.j==="slot"){ie(c.O.parentNode,false)}me(c,h,n);$e(e,c.O,u.O.nextSibling);c=t[++s];h=r[--v]}else if(ve(u,d,n)){if(c.j==="slot"||h.j==="slot"){ie(u.O.parentNode,false)}me(u,d,n);$e(e,u.O,c.O);u=t[--f];d=r[++o]}else{a=-1;{for(i=s;i<=f;++i){if(t[i]&&t[i].C!==null&&t[i].C===d.C){a=i;break}}}if(a>=0){p=t[a];if(p.j!==d.j){m=ae(t&&t[o],l,a,e)}else{me(p,d,n);t[a]=void 0;m=p.O}d=r[++o]}else{m=ae(t&&t[o],l,o,e);d=r[++o]}if(m){{$e(he(c.O),m,de(c.O))}}}}if(s>f){fe(e,r[v+1]==null?null:r[v+1].O,l,r,o,v)}else if(o>v){ce(t,s,f)}};var ve=(e,t,l=false)=>{if(e.j===t.j){if(e.j==="slot"){return e.T===t.T}if(!l){return e.C===t.C}return true}return false};var de=e=>e&&e["s-ol"]||e;var he=e=>(e["s-ol"]?e["s-ol"]:e).parentNode;var me=(e,t,l=false)=>{const r=t.O=e.O;const n=e.k;const s=t.k;const o=t.j;{{if(o==="slot"&&!re);else{Y(e,t,oe)}}if(n!==null&&s!==null){ue(r,n,t,s,l)}else if(s!==null){fe(r,null,t,s,0,s.length-1)}else if(n!==null){ce(n,0,n.length-1)}}};var pe=e=>{const t=e.childNodes;for(const e of t){if(e.nodeType===1){if(e["s-sr"]){const l=e["s-sn"];e.hidden=false;for(const r of t){if(r!==e){if(r["s-hn"]!==e["s-hn"]||l!==""){if(r.nodeType===1&&(l===r.getAttribute("slot")||l===r["s-sn"])||r.nodeType===3&&l===r["s-sn"]){e.hidden=true;break}}else{if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){e.hidden=true;break}}}}}pe(e)}}};var ye=[];var be=e=>{let l;let r;let n;for(const s of e.childNodes){if(s["s-sr"]&&(l=s["s-cr"])&&l.parentNode){r=l.parentNode.childNodes;const e=s["s-sn"];for(n=r.length-1;n>=0;n--){l=r[n];if(!l["s-cn"]&&!l["s-nr"]&&l["s-hn"]!==s["s-hn"]&&!t.experimentalSlotFixes){if(we(l,e)){let t=ye.find((e=>e.R===l));ne=true;l["s-sn"]=l["s-sn"]||e;if(t){t.R["s-sh"]=s["s-hn"];t.L=s}else{l["s-sh"]=s["s-hn"];ye.push({L:s,R:l})}if(l["s-sr"]){ye.map((e=>{if(we(e.R,l["s-sn"])){t=ye.find((e=>e.R===l));if(t&&!e.L){e.L=t.L}}}))}}else if(!ye.some((e=>e.R===l))){ye.push({R:l})}}}}if(s.nodeType===1){be(s)}}};var we=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var $e=(e,t,l)=>{const r=e==null?void 0:e.insertBefore(t,l);{Se(t,e)}return r};var ge=e=>{const t=[];if(e){t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...ge(e.parentElement))}return t};var Se=(e,t,l=false)=>{var r;if(e&&t&&e.nodeType===1){const n=new Set(ge(t).filter(Boolean));if(n.size){(r=e.classList)==null?void 0:r.add(...e["s-scs"]=[...n]);if(e["s-ol"]||l){for(const t of Array.from(e.childNodes)){Se(t,e,true)}}}}};var ke=(e,t,l=false)=>{var r,n,s,o;const a=e.$hostElement$;const i=e.D||B(null,null);const f=z(t)?t:W(null,null,t);le=a.tagName;if(l&&f.S){for(const e of Object.keys(f.S)){if(a.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){f.S[e]=a[e]}}}f.j=null;f.l|=4;e.D=f;f.O=i.O=a;{ee=a["s-sc"]}re=y;{te=a["s-cr"];ne=false}me(i,f,l);{p.l|=1;if(se){be(f.O);for(const e of ye){const t=e.R;if(!t["s-ol"]){const e=m.createTextNode("");e["s-nr"]=t;$e(t.parentNode,t["s-ol"]=e,t)}}for(const e of ye){const t=e.R;const a=e.L;if(a){const e=a.parentNode;let l=a.nextSibling;{let s=(r=t["s-ol"])==null?void 0:r.previousSibling;while(s){let r=(n=s["s-nr"])!=null?n:null;if(r&&r["s-sn"]===t["s-sn"]&&e===r.parentNode){r=r.nextSibling;while(r===t||(r==null?void 0:r["s-sr"])){r=r==null?void 0:r.nextSibling}if(!r||!r["s-nr"]){l=r;break}}s=s.previousSibling}}if(!l&&e!==t.parentNode||t.nextSibling!==l){if(t!==l){if(!t["s-hn"]&&t["s-ol"]){t["s-hn"]=t["s-ol"].parentNode.nodeName}$e(e,t,l);if(t.nodeType===1){t.hidden=(s=t["s-ih"])!=null?s:false}}}t&&typeof a["s-rf"]==="function"&&a["s-rf"](t)}else{if(t.nodeType===1){if(l){t["s-ih"]=(o=t.hidden)!=null?o:false}t.hidden=true}}}}if(ne){pe(f.O)}p.l&=~1;ye.length=0}te=void 0};var Ce=(e,t)=>{if(t&&!e.A&&t["s-p"]){t["s-p"].push(new Promise((t=>e.A=t)))}};var Te=(e,t)=>{{e.l|=16}if(e.l&4){e.l|=512;return}Ce(e,e.F);const l=()=>je(e,t);return j(l)};var je=(e,t)=>{const l=e.$hostElement$;const r=P("scheduleUpdate",e.o.h);const n=e.t;if(!n){throw new Error(`Can't render component <${l.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`)}let s;r();return xe(s,(()=>Re(e,n,t)))};var xe=(e,t)=>Oe(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var Oe=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var Re=async(e,t,l)=>{var r;const n=e.$hostElement$;const s=P("update",e.o.h);const o=n["s-rc"];const a=P("render",e.o.h);{Le(e,t,n,l)}if(o){o.map((e=>e()));n["s-rc"]=void 0}a();s();{const t=(r=n["s-p"])!=null?r:[];const l=()=>De(e);if(t.length===0){l()}else{Promise.all(t).then(l);e.l|=4;t.length=0}}};var Le=(e,t,l,r)=>{try{t=t.render();{e.l&=~16}{e.l|=2}{{{ke(e,t,r)}}}}catch(t){f(t,e.$hostElement$)}return null};var De=e=>{const t=e.o.h;const l=e.$hostElement$;const r=P("postUpdate",t);const n=e.F;if(!(e.l&64)){e.l|=64;{Ae(l)}r();{e.v(l);if(!n){Ee()}}}else{r()}{if(e.A){e.A();e.A=void 0}if(e.l&512){T((()=>Te(e,false)))}e.l&=~(4|512)}};var Ee=t=>{{Ae(m.documentElement)}T((()=>V(h,"appload",{detail:{namespace:e}})))};var Ae=e=>{var l;return e.classList.add((l=t.hydratedSelectorName)!=null?l:"hydrated")};var Fe=(e,t)=>s(e).i.get(t);var Me=(e,t,l,r)=>{const n=s(e);if(!n){throw new Error(`Couldn't find host element for "${r.h}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`)}const o=n.i.get(t);const a=n.l;const i=n.t;l=I(l,r.M[t][0]);const f=Number.isNaN(o)&&Number.isNaN(l);const c=l!==o&&!f;if((!(a&8)||o===void 0)&&c){n.i.set(t,l);if(i){if((a&(2|16))===2){Te(n,false)}}}};var Ne=(e,l,r)=>{var n,o;const a=e.prototype;if(l.M||t.watchCallback){const t=Object.entries((n=l.M)!=null?n:{});t.map((([e,[t]])=>{if(t&31||r&2&&t&32){Object.defineProperty(a,e,{get(){return Fe(this,e)},set(t){Me(this,e,t,l)},configurable:true,enumerable:true})}}));if(r&1){const r=new Map;a.attributeChangedCallback=function(e,t,n){p.jmp((()=>{var o;const i=r.get(e);if(this.hasOwnProperty(i)){n=this[i];delete this[i]}else if(a.hasOwnProperty(i)&&typeof this[i]==="number"&&this[i]==n){return}else if(i==null){const r=s(this);const a=r==null?void 0:r.l;if(a&&!(a&8)&&a&128&&n!==t){const s=r.t;const a=(o=l.N)==null?void 0:o[e];a==null?void 0:a.forEach((l=>{if(s[l]!=null){s[l].call(s,n,t,e)}}))}return}this[i]=n===null&&typeof this[i]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set([...Object.keys((o=l.N)!=null?o:{}),...t.filter((([e,t])=>t[0]&15)).map((([e,t])=>{const l=t[1]||e;r.set(l,e);return l}))]))}}return e};var Pe=async(e,t,l,r)=>{let n;if((t.l&32)===0){t.l|=32;const r=l.m;if(r){const e=u(l);if(e&&"then"in e){const t=U();n=await e;t()}else{n=e}if(!n){throw new Error(`Constructor for "${l.h}#${t.P}" was not found`)}if(!n.isProxied){Ne(n,l,2);n.isProxied=true}const r=P("createInstance",l.h);{t.l|=8}try{new n(t)}catch(e){f(e)}{t.l&=~8}r()}else{n=e.constructor;const l=e.localName;customElements.whenDefined(l).then((()=>t.l|=128))}}const s=t.F;const o=()=>Te(t,true);if(s&&s["s-rc"]){s["s-rc"].push(o)}else{o()}};var Ue=e=>{};var We=e=>{if((p.l&1)===0){const t=s(e);const l=t.o;const r=P("connectedCallback",l.h);if(!(t.l&1)){t.l|=1;{if(l.l&(4|8)){Be(e)}}{let l=e;while(l=l.parentNode||l.host){if(l["s-p"]){Ce(t,t.F=l);break}}}if(l.M){Object.entries(l.M).map((([t,[l]])=>{if(l&31&&e.hasOwnProperty(t)){const l=e[t];delete e[t];e[t]=l}}))}{Pe(e,t,l)}}else{if(t==null?void 0:t.t);else if(t==null?void 0:t.u){t.u.then((()=>Ue()))}}r()}};var Be=e=>{const t=e["s-cr"]=m.createComment("");t["s-cn"]=true;$e(e,t,e.firstChild)};var He=e=>{};var ze=async e=>{if((p.l&1)===0){const t=s(e);if(t==null?void 0:t.t);else if(t==null?void 0:t.u){t.u.then((()=>He()))}}};var Qe=(e,t={})=>{var l;const r=P();const n=[];const o=t.exclude||[];const i=h.customElements;const f=m.head;const c=f.querySelector("meta[charset]");const u=m.createElement("style");const y=[];let b;let w=true;Object.assign(p,t);p.p=new URL(t.resourcesUrl||"./",m.baseURI).href;let $=false;e.map((e=>{e[1].map((t=>{const l={l:t[0],h:t[1],M:t[2],U:t[3]};if(l.l&4){$=true}{l.M=t[2]}const r=l.h;const f=class extends HTMLElement{constructor(e){super(e);this.hasRegisteredEventListeners=false;e=this;a(e,l)}connectedCallback(){s(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(b){clearTimeout(b);b=null}if(w){y.push(this)}else{p.jmp((()=>We(this)))}}disconnectedCallback(){p.jmp((()=>ze(this)))}componentOnReady(){return s(this).u}};l.m=e[0];if(!o.includes(r)&&!i.get(r)){n.push(r);i.define(r,Ne(f,l,1))}}))}));if(n.length>0){if($){u.textContent+=d}{u.textContent+=n.sort()+v}if(u.innerHTML.length){u.setAttribute("data-styles","");const e=(l=p.W)!=null?l:L(m);if(e!=null){u.setAttribute("nonce",e)}f.insertBefore(u,c?c.nextSibling:f.firstChild)}}w=false;if(y.length){y.map((e=>e.connectedCallback()))}else{{p.jmp((()=>b=setTimeout(Ee,30)))}}r()};var qe=e=>p.W=e;export{H,Qe as b,K as g,W as h,b as p,o as r,qe as s};
3
- //# sourceMappingURL=p-54ec5e00.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,h as s,H as e,g as i}from"./p-54ec5e00.js";import{button as a}from"@rarui/styles";const r=class{constructor(s){t(this,s);this.appearance="brand";this.variant="solid";this.size="large";this.full=undefined;this.disabled=undefined;this.type=undefined;this.href=undefined;this.target=undefined;this.as="button"}render(){const t=this.as;return s(e,{key:"89dcf501dcb03a095b34761343a6aa84fff54723"},s(t,{key:"2f3ccccc501f595ea140e70da8da0b55592debfe",class:a.classnames.button({appearance:this.appearance,variant:this.variant,size:this.size,full:this.full}),disabled:this.disabled,type:this.type,href:this.href,target:this.target},s("slot",{key:"466fe7909948bd9205833359876d4738e9af53a7"})))}get el(){return i(this)}};export{r as rarui_button};
2
- //# sourceMappingURL=p-e35c2483.entry.js.map
@@ -1,2 +0,0 @@
1
- import{p as e,b as a}from"./p-54ec5e00.js";export{s as setNonce}from"./p-54ec5e00.js";import{g as r}from"./p-e1255160.js";var t=()=>{const a=import.meta.url;const r={};if(a!==""){r.resourcesUrl=new URL(".",a).href}return e(r)};t().then((async e=>{await r();return a([["p-e35c2483",[[6,"rarui-button",{appearance:[1],variant:[1],size:[1],full:[4],disabled:[4],type:[1],href:[1],target:[1],as:[1]}]]]],e)}));
2
- //# sourceMappingURL=rarui-button.esm.js.map
@@ -1,62 +0,0 @@
1
- import { argTypesConvert, storyGenerator } from ".storybook/utils";
2
- import docs from "./title.docs.json";
3
- import "./Title";
4
- const { argTypes, Template } = storyGenerator("rarui-title", argTypesConvert(docs));
5
- const meta = {
6
- title: "Exibição/Title",
7
- tags: ["autodocs"],
8
- argTypes,
9
- };
10
- export default meta;
11
- export const basic = Template.bind({});
12
- basic.args = {
13
- color: "$primary",
14
- children: "Lorem ipsum dolor sit amet",
15
- };
16
- export const h1 = Template.bind({});
17
- h1.args = {
18
- as: "h1",
19
- color: "$primary",
20
- children: "Lorem ipsum dolor sit amet",
21
- };
22
- export const h2 = Template.bind({});
23
- h2.args = {
24
- as: "h2",
25
- color: "$primary",
26
- children: "Lorem ipsum dolor sit amet",
27
- };
28
- export const h3 = Template.bind({});
29
- h3.args = {
30
- as: "h3",
31
- color: "$primary",
32
- children: "Lorem ipsum dolor sit amet",
33
- };
34
- export const h4 = Template.bind({});
35
- h4.args = {
36
- as: "h4",
37
- color: "$primary",
38
- children: "Lorem ipsum dolor sit amet",
39
- };
40
- export const h5 = Template.bind({});
41
- h5.args = {
42
- as: "h5",
43
- color: "$primary",
44
- children: "Lorem ipsum dolor sit amet",
45
- };
46
- export const h6 = Template.bind({});
47
- h6.args = {
48
- as: "h6",
49
- color: "$primary",
50
- children: "Lorem ipsum dolor sit amet",
51
- };
52
- export const responsive = Template.bind({});
53
- responsive.args = {
54
- fontSize: "$s",
55
- textAlign: {
56
- xs: "left",
57
- md: "center",
58
- lg: "right",
59
- },
60
- children: "Lorem ipsum dolor sit amet",
61
- };
62
- //# sourceMappingURL=title.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"title.stories.js","sourceRoot":"","sources":["../../../../../../../../src/exhibition/Title/src/title.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,IAAI,MAAM,mBAAmB,CAAC;AACrC,OAAO,SAAS,CAAC;AAEjB,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,cAAc,CAC3C,aAAa,EACb,eAAe,CAAC,IAAI,CAAC,CACtB,CAAC;AAEF,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,gBAAgB;IACvB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ;CACW,CAAC;AAEtB,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,KAAK,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC9C,KAAK,CAAC,IAAI,GAAG;IACX,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,4BAA4B;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,EAAE,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3C,EAAE,CAAC,IAAI,GAAG;IACR,EAAE,EAAE,IAAI;IACR,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,4BAA4B;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,EAAE,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3C,EAAE,CAAC,IAAI,GAAG;IACR,EAAE,EAAE,IAAI;IACR,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,4BAA4B;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,EAAE,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3C,EAAE,CAAC,IAAI,GAAG;IACR,EAAE,EAAE,IAAI;IACR,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,4BAA4B;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,EAAE,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3C,EAAE,CAAC,IAAI,GAAG;IACR,EAAE,EAAE,IAAI;IACR,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,4BAA4B;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,EAAE,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3C,EAAE,CAAC,IAAI,GAAG;IACR,EAAE,EAAE,IAAI;IACR,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,4BAA4B;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,EAAE,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3C,EAAE,CAAC,IAAI,GAAG;IACR,EAAE,EAAE,IAAI;IACR,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,4BAA4B;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnD,UAAU,CAAC,IAAI,GAAG;IAChB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE;QACT,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,QAAQ;QACZ,EAAE,EAAE,OAAO;KACZ;IACD,QAAQ,EAAE,4BAA4B;CACvC,CAAC","sourcesContent":["import type { Meta, StoryObj } from \"@storybook/html\";\nimport { argTypesConvert, storyGenerator } from \".storybook/utils\";\nimport docs from \"./title.docs.json\";\nimport \"./Title\";\n\nconst { argTypes, Template } = storyGenerator(\n \"rarui-title\",\n argTypesConvert(docs),\n);\n\nconst meta = {\n title: \"Exibição/Title\",\n tags: [\"autodocs\"],\n argTypes,\n} satisfies Meta<any>;\n\nexport default meta;\ntype Story = StoryObj<any>;\n\nexport const basic: Story = Template.bind({});\nbasic.args = {\n color: \"$primary\",\n children: \"Lorem ipsum dolor sit amet\",\n};\n\nexport const h1: Story = Template.bind({});\nh1.args = {\n as: \"h1\",\n color: \"$primary\",\n children: \"Lorem ipsum dolor sit amet\",\n};\n\nexport const h2: Story = Template.bind({});\nh2.args = {\n as: \"h2\",\n color: \"$primary\",\n children: \"Lorem ipsum dolor sit amet\",\n};\n\nexport const h3: Story = Template.bind({});\nh3.args = {\n as: \"h3\",\n color: \"$primary\",\n children: \"Lorem ipsum dolor sit amet\",\n};\n\nexport const h4: Story = Template.bind({});\nh4.args = {\n as: \"h4\",\n color: \"$primary\",\n children: \"Lorem ipsum dolor sit amet\",\n};\n\nexport const h5: Story = Template.bind({});\nh5.args = {\n as: \"h5\",\n color: \"$primary\",\n children: \"Lorem ipsum dolor sit amet\",\n};\n\nexport const h6: Story = Template.bind({});\nh6.args = {\n as: \"h6\",\n color: \"$primary\",\n children: \"Lorem ipsum dolor sit amet\",\n};\n\nexport const responsive: Story = Template.bind({});\nresponsive.args = {\n fontSize: \"$s\",\n textAlign: {\n xs: \"left\",\n md: \"center\",\n lg: \"right\",\n },\n children: \"Lorem ipsum dolor sit amet\",\n};\n"]}
@@ -1,2 +0,0 @@
1
- export * from "./input/Button/src";
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC","sourcesContent":["export * from \"./input/Button/src\";\n"]}
@@ -1,70 +0,0 @@
1
- import { argTypesConvert, storyGenerator } from ".storybook/utils";
2
- import docs from "./button.docs.json";
3
- import "./Button";
4
- const { argTypes, Template } = storyGenerator("rarui-button", argTypesConvert(docs));
5
- const meta = {
6
- title: "Entrada/Button",
7
- tags: ["autodocs"],
8
- argTypes,
9
- };
10
- export default meta;
11
- export const Basic = Template.bind({});
12
- Basic.args = {
13
- appearance: "brand",
14
- children: "Label",
15
- };
16
- export const Large = Template.bind({});
17
- Large.args = {
18
- children: "Label",
19
- size: "large",
20
- appearance: "brand",
21
- };
22
- export const Medium = Template.bind({});
23
- Medium.args = {
24
- children: "Label",
25
- size: "medium",
26
- appearance: "brand",
27
- };
28
- export const Small = Template.bind({});
29
- Small.args = {
30
- children: "Label",
31
- size: "small",
32
- appearance: "brand",
33
- };
34
- export const Disabled = Template.bind({});
35
- Disabled.args = {
36
- disabled: true,
37
- children: "Label",
38
- };
39
- export const AsLink = Template.bind({});
40
- AsLink.args = {
41
- as: "a",
42
- children: "Button as anchor",
43
- href: "https://www.google.com.br",
44
- target: "_blank",
45
- };
46
- export const Outlined = Template.bind({});
47
- Outlined.args = {
48
- children: "Label",
49
- variant: "outlined",
50
- appearance: "success",
51
- };
52
- export const Solid = Template.bind({});
53
- Solid.args = {
54
- children: "Label",
55
- variant: "solid",
56
- appearance: "danger",
57
- };
58
- export const Text = Template.bind({});
59
- Text.args = {
60
- children: "Label",
61
- variant: "text",
62
- appearance: "warning",
63
- };
64
- export const Tonal = Template.bind({});
65
- Tonal.args = {
66
- children: "Label",
67
- variant: "tonal",
68
- appearance: "success",
69
- };
70
- //# sourceMappingURL=button.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.stories.js","sourceRoot":"","sources":["../../../../../../../../src/input/Button/src/button.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,UAAU,CAAC;AAElB,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,cAAc,CAC3C,cAAc,EACd,eAAe,CAAC,IAAI,CAAC,CACtB,CAAC;AAEF,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,gBAAgB;IACvB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ;CACW,CAAC;AAEtB,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,KAAK,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC9C,KAAK,CAAC,IAAI,GAAG;IACX,UAAU,EAAE,OAAO;IACnB,QAAQ,EAAE,OAAO;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC9C,KAAK,CAAC,IAAI,GAAG;IACX,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,OAAO;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC/C,MAAM,CAAC,IAAI,GAAG;IACZ,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,OAAO;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC9C,KAAK,CAAC,IAAI,GAAG;IACX,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,OAAO;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,QAAQ,CAAC,IAAI,GAAG;IACd,QAAQ,EAAE,IAAI;IACd,QAAQ,EAAE,OAAO;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC/C,MAAM,CAAC,IAAI,GAAG;IACZ,EAAE,EAAE,GAAG;IACP,QAAQ,EAAE,kBAAkB;IAC5B,IAAI,EAAE,2BAA2B;IACjC,MAAM,EAAE,QAAQ;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,QAAQ,CAAC,IAAI,GAAG;IACd,QAAQ,EAAE,OAAO;IACjB,OAAO,EAAE,UAAU;IACnB,UAAU,EAAE,SAAS;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC9C,KAAK,CAAC,IAAI,GAAG;IACX,QAAQ,EAAE,OAAO;IACjB,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,QAAQ;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC7C,IAAI,CAAC,IAAI,GAAG;IACV,QAAQ,EAAE,OAAO;IACjB,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,SAAS;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC9C,KAAK,CAAC,IAAI,GAAG;IACX,QAAQ,EAAE,OAAO;IACjB,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,SAAS;CACtB,CAAC","sourcesContent":["import type { Meta, StoryObj } from \"@storybook/html\";\nimport { argTypesConvert, storyGenerator } from \".storybook/utils\";\nimport docs from \"./button.docs.json\";\nimport \"./Button\";\n\nconst { argTypes, Template } = storyGenerator(\n \"rarui-button\",\n argTypesConvert(docs),\n);\n\nconst meta = {\n title: \"Entrada/Button\",\n tags: [\"autodocs\"],\n argTypes,\n} satisfies Meta<any>;\n\nexport default meta;\ntype Story = StoryObj<any>;\n\nexport const Basic: Story = Template.bind({});\nBasic.args = {\n appearance: \"brand\",\n children: \"Label\",\n};\n\nexport const Large: Story = Template.bind({});\nLarge.args = {\n children: \"Label\",\n size: \"large\",\n appearance: \"brand\",\n};\n\nexport const Medium: Story = Template.bind({});\nMedium.args = {\n children: \"Label\",\n size: \"medium\",\n appearance: \"brand\",\n};\n\nexport const Small: Story = Template.bind({});\nSmall.args = {\n children: \"Label\",\n size: \"small\",\n appearance: \"brand\",\n};\n\nexport const Disabled: Story = Template.bind({});\nDisabled.args = {\n disabled: true,\n children: \"Label\",\n};\n\nexport const AsLink: Story = Template.bind({});\nAsLink.args = {\n as: \"a\",\n children: \"Button as anchor\",\n href: \"https://www.google.com.br\",\n target: \"_blank\",\n};\n\nexport const Outlined: Story = Template.bind({});\nOutlined.args = {\n children: \"Label\",\n variant: \"outlined\",\n appearance: \"success\",\n};\n\nexport const Solid: Story = Template.bind({});\nSolid.args = {\n children: \"Label\",\n variant: \"solid\",\n appearance: \"danger\",\n};\n\nexport const Text: Story = Template.bind({});\nText.args = {\n children: \"Label\",\n variant: \"text\",\n appearance: \"warning\",\n};\n\nexport const Tonal: Story = Template.bind({});\nTonal.args = {\n children: \"Label\",\n variant: \"tonal\",\n appearance: \"success\",\n};\n"]}
@@ -1,2 +0,0 @@
1
- import{r as e,h as r,g as t}from"./p-6a233dc8.js";import{box as s,CaptureProps as c}from"@rarui/styles";function o(e,r,t,s){var c=arguments.length,o=c<3?r:s===null?s=Object.getOwnPropertyDescriptor(r,t):s,n;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(e,r,t,s);else for(var a=e.length-1;a>=0;a--)if(n=e[a])o=(c<3?n(o):c>3?n(r,t,o):n(r,t))||o;return c>3&&o&&Object.defineProperty(r,t,o),o}typeof SuppressedError==="function"?SuppressedError:function(e,r,t){var s=new Error(t);return s.name="SuppressedError",s.error=e,s.suppressed=r,s};const n=class{constructor(r){e(this,r);this.props={};this.as="div"}render(){const e=this.as;const{className:t,style:c,otherProps:o}=s.sprinkle(this.props);return r(e,Object.assign({key:"901a3c9a6d8368e10d0ac484acd0fc480ba138dd",class:t,style:c},o),r("slot",{key:"1d11e12676cf6574308b69cc2d0e6dfeee86ab88"}))}get el(){return t(this)}};o([c],n.prototype,"render",null);export{n as rarui_box};
2
- //# sourceMappingURL=p-8c90ee66.entry.js.map
@@ -1,54 +0,0 @@
1
- import { argTypesConvert, storyGenerator } from ".storybook/utils";
2
- import docs from "./box.docs.json";
3
- import "./Box";
4
- const { argTypes, Template } = storyGenerator("rarui-box", argTypesConvert(docs));
5
- const meta = {
6
- title: "Layout/Box",
7
- tags: ["autodocs"],
8
- argTypes,
9
- };
10
- export default meta;
11
- export const basic = Template.bind({});
12
- basic.args = {
13
- height: "5rem",
14
- width: "12rem",
15
- borderWidth: "$2",
16
- borderStyle: "dashed",
17
- borderRadius: "$xs",
18
- borderColor: "$brand",
19
- backgroundColor: "$brand-subdued",
20
- };
21
- export const responsive = Template.bind({});
22
- responsive.args = {
23
- height: {
24
- xl: "6rem",
25
- lg: "4rem",
26
- md: "3rem",
27
- xs: "2rem",
28
- },
29
- width: {
30
- xl: "12rem",
31
- lg: "10rem",
32
- md: "8rem",
33
- xs: "2rem",
34
- },
35
- backgroundColor: {
36
- xl: "$warning",
37
- lg: "$brand",
38
- md: "$background",
39
- xs: "$success",
40
- },
41
- paddingX: {
42
- xl: "$xl",
43
- lg: "$lg",
44
- md: "$md",
45
- xs: "$none",
46
- },
47
- borderRadius: {
48
- xl: "$xl",
49
- lg: "$lg",
50
- md: "$md",
51
- xs: "$pill",
52
- },
53
- };
54
- //# sourceMappingURL=box.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"box.stories.js","sourceRoot":"","sources":["../../../../../../../../src/layout/Box/src/box.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,OAAO,CAAC;AAEf,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,cAAc,CAC3C,WAAW,EACX,eAAe,CAAC,IAAI,CAAC,CACtB,CAAC;AAEF,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ;CACW,CAAC;AAEtB,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,KAAK,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC9C,KAAK,CAAC,IAAI,GAAG;IACX,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,QAAQ;IACrB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,QAAQ;IACrB,eAAe,EAAE,gBAAgB;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnD,UAAU,CAAC,IAAI,GAAG;IAChB,MAAM,EAAE;QACN,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;KACX;IACD,KAAK,EAAE;QACL,EAAE,EAAE,OAAO;QACX,EAAE,EAAE,OAAO;QACX,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;KACX;IACD,eAAe,EAAE;QACf,EAAE,EAAE,UAAU;QACd,EAAE,EAAE,QAAQ;QACZ,EAAE,EAAE,aAAa;QACjB,EAAE,EAAE,UAAU;KACf;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,OAAO;KACZ;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,OAAO;KACZ;CACF,CAAC","sourcesContent":["import type { Meta, StoryObj } from \"@storybook/html\";\nimport { argTypesConvert, storyGenerator } from \".storybook/utils\";\nimport docs from \"./box.docs.json\";\nimport \"./Box\";\n\nconst { argTypes, Template } = storyGenerator(\n \"rarui-box\",\n argTypesConvert(docs),\n);\n\nconst meta = {\n title: \"Layout/Box\",\n tags: [\"autodocs\"],\n argTypes,\n} satisfies Meta<any>;\n\nexport default meta;\ntype Story = StoryObj<any>;\n\nexport const basic: Story = Template.bind({});\nbasic.args = {\n height: \"5rem\",\n width: \"12rem\",\n borderWidth: \"$2\",\n borderStyle: \"dashed\",\n borderRadius: \"$xs\",\n borderColor: \"$brand\",\n backgroundColor: \"$brand-subdued\",\n};\n\nexport const responsive: Story = Template.bind({});\nresponsive.args = {\n height: {\n xl: \"6rem\",\n lg: \"4rem\",\n md: \"3rem\",\n xs: \"2rem\",\n },\n width: {\n xl: \"12rem\",\n lg: \"10rem\",\n md: \"8rem\",\n xs: \"2rem\",\n },\n backgroundColor: {\n xl: \"$warning\",\n lg: \"$brand\",\n md: \"$background\",\n xs: \"$success\",\n },\n paddingX: {\n xl: \"$xl\",\n lg: \"$lg\",\n md: \"$md\",\n xs: \"$none\",\n },\n borderRadius: {\n xl: \"$xl\",\n lg: \"$lg\",\n md: \"$md\",\n xs: \"$pill\",\n },\n};\n"]}
@@ -1,17 +0,0 @@
1
- import { argTypesConvert, storyGenerator } from ".storybook/utils";
2
- import docs from "../../Root/src/root.docs.json";
3
- const itemDocs = docs.subComponents.find((subComponent) => subComponent.name === "Tabs.Item");
4
- import "../../../../layout/Box/src/Box";
5
- import "./Item";
6
- const { argTypes, Template } = storyGenerator("rarui-tabs-item", argTypesConvert(itemDocs));
7
- const meta = {
8
- title: "Navegação/Tabs/Item",
9
- tags: ["autodocs"],
10
- argTypes,
11
- };
12
- export default meta;
13
- export const basic = Template.bind({});
14
- basic.args = {
15
- label: "Label",
16
- };
17
- //# sourceMappingURL=item.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"item.stories.js","sourceRoot":"","sources":["../../../../../../../../../src/navigation/Tabs/Item/src/item.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,IAAI,MAAM,+BAA+B,CAAC;AAEjD,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,CACtC,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,IAAI,KAAK,WAAW,CACpD,CAAC;AAEF,OAAO,gCAAgC,CAAC;AACxC,OAAO,QAAQ,CAAC;AAEhB,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,cAAc,CAC3C,iBAAiB,EACjB,eAAe,CAAC,QAAQ,CAAC,CAC1B,CAAC;AAEF,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,qBAAqB;IAC5B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ;CACW,CAAC;AAEtB,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,KAAK,GAAU,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC9C,KAAK,CAAC,IAAI,GAAG;IACX,KAAK,EAAE,OAAO;CACf,CAAC","sourcesContent":["import type { Meta, StoryObj } from \"@storybook/html\";\nimport { argTypesConvert, storyGenerator } from \".storybook/utils\";\nimport docs from \"../../Root/src/root.docs.json\";\n\nconst itemDocs = docs.subComponents.find(\n (subComponent) => subComponent.name === \"Tabs.Item\",\n);\n\nimport \"../../../../layout/Box/src/Box\";\nimport \"./Item\";\n\nconst { argTypes, Template } = storyGenerator(\n \"rarui-tabs-item\",\n argTypesConvert(itemDocs),\n);\n\nconst meta = {\n title: \"Navegação/Tabs/Item\",\n tags: [\"autodocs\"],\n argTypes,\n} satisfies Meta<any>;\n\nexport default meta;\ntype Story = StoryObj<any>;\n\nexport const basic: Story = Template.bind({});\nbasic.args = {\n label: \"Label\",\n};\n"]}
@@ -1,2 +0,0 @@
1
- import{r as s,c as t,h as i,H as e,g as r}from"./p-325ce1b1.js";import{tabs as c}from"@rarui/styles";const h=class{constructor(i){s(this,i);this.selectedTab=t(this,"selectedTab",7);this.position="left";this.underlined=undefined;this.full=undefined;this.defaultTab=0;this.selected=this.defaultTab}componentWillLoad(){this._tabsChildrens=Array.from(this.el.querySelectorAll("rarui-tabs-item"));this._tabsChildrens.forEach((s=>s.remove()))}render(){return i(e,{key:"70d89ebc921f5505b2cd70986613e61ccbce8548"},i("ul",{key:"d6b3be784459c4ae3447cfe676164b2300959910",class:c.classnames.ul({position:this.position,underlined:this.underlined})},this._tabsChildrens.map(((s,t)=>i("li",{class:c.classnames.li({full:this.full})},i("button",{type:"button",class:c.classnames.button({underlined:this.underlined,selected:this.selected===t}),onClick:()=>{this.selected=t;this.selectedTab.emit(t)}},s.label))))),i("div",{key:"63d7e352005431c1e26f154f3c655c0f3001c4a5",innerHTML:this._tabsChildrens[this.selected].outerHTML}))}get el(){return r(this)}};export{h as rarui_tabs};
2
- //# sourceMappingURL=p-43fc3e90.entry.js.map
@@ -1,59 +0,0 @@
1
- import { argTypesConvert, storyGenerator } from ".storybook/utils";
2
- import docs from "./root.docs.json";
3
- import "../../../../exhibition/Text/src/Text";
4
- import "../../../../layout/Box/src/Box";
5
- import "../../Item/src/Item";
6
- import "./Root";
7
- const { argTypes, Template } = storyGenerator("rarui-tabs", argTypesConvert(docs));
8
- const meta = {
9
- title: "Navegação/Tabs",
10
- tags: ["autodocs"],
11
- argTypes,
12
- };
13
- export default meta;
14
- export const basic = Template.bind({});
15
- basic.args = {
16
- children: `
17
- <rarui-tabs-item label="Label">
18
- <rarui-box
19
- align-items="center"
20
- background-color="$warning-subdued"
21
- border-color="$warning"
22
- border-radius="$2xs"
23
- border-style="dashed"
24
- border-width="$1"
25
- display="flex"
26
- flex-direction="column"
27
- gap="$3xs"
28
- height="150px"
29
- justify-content="center"
30
- min-width="260px"
31
- width="100%"
32
- margin-top="$xs"
33
- >
34
- <rarui-text color="$warning" font-size="$s" text-align="center"> ❖ Slot 1 </rarui-text>
35
- </rarui-box>
36
- </rarui-tabs-item>
37
- <rarui-tabs-item label="Label">
38
- <rarui-box
39
- align-items="center"
40
- background-color="$warning-subdued"
41
- border-color="$warning"
42
- border-radius="$2xs"
43
- border-style="dashed"
44
- border-width="$1"
45
- display="flex"
46
- flex-direction="column"
47
- gap="$3xs"
48
- height="150px"
49
- justify-content="center"
50
- min-width="260px"
51
- width="100%"
52
- margin-top="$xs"
53
- >
54
- <rarui-text color="$warning" font-size="$s" text-align="center"> ❖ Slot 2 </rarui-text>
55
- </rarui-box>
56
- </rarui-tabs-item>
57
- `,
58
- };
59
- //# sourceMappingURL=root.stories.js.map