@vanelsas/baredom 0.1.9-alpha → 0.1.11-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +76 -20
- package/dist/x-alert.js +1 -1
- package/dist/x-avatar-group.js +1 -1
- package/dist/x-avatar.js +1 -1
- package/dist/x-badge.js +1 -1
- package/dist/x-breadcrumbs.js +1 -1
- package/dist/x-button.js +1 -1
- package/dist/x-cancel-dialogue.js +1 -1
- package/dist/x-card.js +1 -1
- package/dist/x-chart.js +1 -1
- package/dist/x-checkbox.js +1 -1
- package/dist/x-chip.js +1 -1
- package/dist/x-collapse.js +1 -1
- package/dist/x-command-palette.js +1 -1
- package/dist/x-container.js +1 -1
- package/dist/x-context-menu.js +1 -1
- package/dist/x-copy.js +1 -1
- package/dist/x-currency-field.js +1 -1
- package/dist/x-date-picker.js +1 -1
- package/dist/x-divider.js +1 -1
- package/dist/x-drawer.js +1 -1
- package/dist/x-dropdown.js +1 -1
- package/dist/x-fieldset.js +1 -1
- package/dist/x-file-download.js +1 -1
- package/dist/x-form-field.js +1 -1
- package/dist/x-form.js +1 -1
- package/dist/x-grid.js +1 -1
- package/dist/x-menu-item.js +1 -1
- package/dist/x-menu.js +1 -1
- package/dist/x-modal.js +1 -1
- package/dist/x-navbar.js +1 -1
- package/dist/x-notification-center.js +1 -1
- package/dist/x-pagination.js +1 -1
- package/dist/x-popover.js +1 -1
- package/dist/x-progress-circle.js +1 -1
- package/dist/x-progress.js +1 -1
- package/dist/x-radio.js +1 -1
- package/dist/x-search-field.js +1 -1
- package/dist/x-select.js +1 -1
- package/dist/x-sidebar.js +1 -1
- package/dist/x-skeleton.js +1 -1
- package/dist/x-slider.js +1 -1
- package/dist/x-spacer.js +1 -1
- package/dist/x-spinner.js +1 -1
- package/dist/x-stat.js +1 -1
- package/dist/x-stepper.js +1 -1
- package/dist/x-switch.js +1 -1
- package/dist/x-tab.js +1 -1
- package/dist/x-table-cell.js +1 -1
- package/dist/x-table-row.js +1 -1
- package/dist/x-table.js +1 -1
- package/dist/x-tabs.js +1 -1
- package/dist/x-text-area.js +1 -1
- package/dist/x-timeline-item.js +1 -1
- package/dist/x-timeline.js +1 -1
- package/dist/x-toast.js +1 -1
- package/dist/x-toaster.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to BareDome will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.1.11-alpha] - 2026-03-27
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Renamed internal ClojureScript namespace root from `app` to `baredom` to match the published npm package name `@vanelsas/baredom`. No public API
|
|
10
|
+
changes.
|
|
11
|
+
|
|
12
|
+
## [0.1.10-alpha] - 2026-03-27
|
|
13
|
+
|
|
14
|
+
## Fixed
|
|
15
|
+
|
|
16
|
+
- Updates package.json to ensure the latest alpha version is also the latest version on NPM
|
|
17
|
+
- Add report.html to .gitignore
|
|
18
|
+
|
|
5
19
|
## [0.1.9-alpha] - 2026-03-27
|
|
6
20
|
|
|
7
21
|
## Fixed
|
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ I started working on BareDOM after going though all the motions that Clojure dev
|
|
|
41
41
|
|
|
42
42
|
I wondered if there would be a better way to do this, and I ended up reading about web components. It seemed like a good idea to try that. For me it as a research exercise, trying to understand how it all works. I tried to build a few, and had to learn how to do that in Clojurescript. Building a larger set of web components is quite a bit of work.
|
|
43
43
|
|
|
44
|
-
When Claude Code appeared,
|
|
44
|
+
When Claude Code appeared, I was thinking about a project to try it out with, and web components seemed like a good fit. I picked up the project again and started to build Clojurescript based web components assisted by Claude. A good experiment to work with AI tooling and build something I find interesting myself.
|
|
45
45
|
|
|
46
46
|
The project is still in an alpha state. The components and demo's work, but there are bound to be some things not working properly yet. Feel free to give it a spin.
|
|
47
47
|
|
|
@@ -63,7 +63,53 @@ The project is still in an alpha state. The components and demo's work, but ther
|
|
|
63
63
|
|
|
64
64
|
## Installation
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
BareDOM can be consumed in three ways. Pick the one that matches your stack.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
### Option 1 — ClojureScript via Clojars
|
|
71
|
+
|
|
72
|
+
This is the primary distribution for ClojureScript projects. Add the dependency to your `deps.edn`:
|
|
73
|
+
|
|
74
|
+
```clojure
|
|
75
|
+
{:deps {com.github.avanelsas/baredom {:mvn/version "0.1.10-alpha"}}}
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Or, if you use Leiningen, add to `:dependencies` in `project.clj`:
|
|
79
|
+
|
|
80
|
+
```clojure
|
|
81
|
+
[com.github.avanelsas/baredom "0.1.10-alpha"]
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Components live under the `app.exports` namespace. Require only what you use — unused namespaces are eliminated by the Closure compiler:
|
|
85
|
+
|
|
86
|
+
```clojure
|
|
87
|
+
(ns my-app.core
|
|
88
|
+
(:require [app.exports.x-button :as x-button]
|
|
89
|
+
[app.exports.x-alert :as x-alert]
|
|
90
|
+
[app.exports.x-toaster :as x-toaster]
|
|
91
|
+
[app.exports.x-toast :as x-toast]))
|
|
92
|
+
|
|
93
|
+
(defn- register-components! []
|
|
94
|
+
(x-button/register!)
|
|
95
|
+
(x-alert/register!)
|
|
96
|
+
(x-toaster/register!)
|
|
97
|
+
(x-toast/register!))
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Call `register-components!` once in your `init!` entry point. Registration is idempotent — calling `register!` on an already-registered element is a no-op.
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
### Option 2 — npm (JavaScript / TypeScript projects)
|
|
105
|
+
|
|
106
|
+
If your project uses npm, install the package:
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
npm install @vanelsas/baredom
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Or add it manually to `package.json`:
|
|
67
113
|
|
|
68
114
|
```json
|
|
69
115
|
{
|
|
@@ -73,17 +119,25 @@ The project is still in an alpha state. The components and demo's work, but ther
|
|
|
73
119
|
}
|
|
74
120
|
```
|
|
75
121
|
|
|
76
|
-
|
|
122
|
+
Each component is a separate ES module — import only what you need:
|
|
77
123
|
|
|
78
|
-
|
|
124
|
+
```js
|
|
125
|
+
import { init as initButton } from "@vanelsas/baredom/x-button";
|
|
126
|
+
import { init as initAlert } from "@vanelsas/baredom/x-alert";
|
|
127
|
+
|
|
128
|
+
initButton();
|
|
129
|
+
initAlert();
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
> **shadow-cljs users using npm:** no extra configuration needed. shadow-cljs resolves npm packages from `node_modules` automatically. You can use `["@vanelsas/baredom/x-button" :as x-button]` in `:require` and call `(.init x-button)`.
|
|
79
133
|
|
|
80
134
|
---
|
|
81
135
|
|
|
82
|
-
|
|
136
|
+
### Option 3 — CDN (no build step)
|
|
83
137
|
|
|
84
138
|
BareDOM components are standard ES modules. Load them directly in any HTML page using a CDN — no npm, no bundler, no framework required.
|
|
85
139
|
|
|
86
|
-
|
|
140
|
+
#### Import and initialise
|
|
87
141
|
|
|
88
142
|
```html
|
|
89
143
|
<!DOCTYPE html>
|
|
@@ -111,7 +165,7 @@ BareDOM components are standard ES modules. Load them directly in any HTML page
|
|
|
111
165
|
|
|
112
166
|
`<script type="module">` is required because BareDOM components are ES modules. Each `init()` call registers the custom element with the browser. Only the components you import are loaded — unused components cost nothing.
|
|
113
167
|
|
|
114
|
-
|
|
168
|
+
#### Set attributes in HTML
|
|
115
169
|
|
|
116
170
|
Every attribute can be set directly in markup:
|
|
117
171
|
|
|
@@ -124,7 +178,7 @@ Every attribute can be set directly in markup:
|
|
|
124
178
|
|
|
125
179
|
Boolean attributes follow the HTML convention: presence means `true`, absence means `false`.
|
|
126
180
|
|
|
127
|
-
|
|
181
|
+
#### Handle events
|
|
128
182
|
|
|
129
183
|
```html
|
|
130
184
|
<x-button id="btn" variant="primary">Click me</x-button>
|
|
@@ -152,7 +206,7 @@ Boolean attributes follow the HTML convention: presence means `true`, absence me
|
|
|
152
206
|
|
|
153
207
|
Custom events carry a `detail` payload — check the individual component docs for the event name and `detail` shape.
|
|
154
208
|
|
|
155
|
-
|
|
209
|
+
#### Theme with CSS custom properties
|
|
156
210
|
|
|
157
211
|
```html
|
|
158
212
|
<style>
|
|
@@ -167,28 +221,30 @@ CSS custom properties cascade normally into the open Shadow DOM. No JavaScript r
|
|
|
167
221
|
|
|
168
222
|
---
|
|
169
223
|
|
|
170
|
-
## Usage
|
|
224
|
+
## Usage (ClojureScript)
|
|
225
|
+
|
|
226
|
+
The examples below use the Clojars distribution. If you installed via npm, replace the `app.exports.*` requires with `["@vanelsas/baredom/x-button" :as x-button]` etc., and call `(.init x-button)` instead of `(x-button/register!)`.
|
|
171
227
|
|
|
172
228
|
### 1. Register components
|
|
173
229
|
|
|
174
|
-
Require each component
|
|
230
|
+
Require each component namespace you need and call `register!` on it once, before any rendering. Only the components you require are included in your build.
|
|
175
231
|
|
|
176
232
|
```clojure
|
|
177
233
|
(ns my-app.core
|
|
178
234
|
(:require
|
|
179
|
-
[
|
|
180
|
-
[
|
|
181
|
-
[
|
|
182
|
-
[
|
|
235
|
+
[app.exports.x-button :as x-button]
|
|
236
|
+
[app.exports.x-alert :as x-alert]
|
|
237
|
+
[app.exports.x-toaster :as x-toaster]
|
|
238
|
+
[app.exports.x-toast :as x-toast]))
|
|
183
239
|
|
|
184
240
|
(defn- register-components! []
|
|
185
|
-
(
|
|
186
|
-
(
|
|
187
|
-
(
|
|
188
|
-
(
|
|
241
|
+
(x-button/register!)
|
|
242
|
+
(x-alert/register!)
|
|
243
|
+
(x-toaster/register!)
|
|
244
|
+
(x-toast/register!))
|
|
189
245
|
```
|
|
190
246
|
|
|
191
|
-
Call `register-components!` once in your `init!` entry point. Registration is idempotent — calling
|
|
247
|
+
Call `register-components!` once in your `init!` entry point. Registration is idempotent — calling `register!` on an already-registered element is a no-op.
|
|
192
248
|
|
|
193
249
|
### 2. Add a renderer
|
|
194
250
|
|
package/dist/x-alert.js
CHANGED
|
@@ -17,4 +17,4 @@ $APP.eh.g(c);var d=$APP.l(b,"click");b=$APP.l(b,"keydown");$APP.n(d)&&c.removeEv
|
|
|
17
17
|
return $APP.n(b)?b:""},set:function(b){return $APP.n(b)?this.setAttribute("text",""+$APP.S.g(b)):this.removeAttribute("text")},enumerable:!0,configurable:!0});Object.defineProperty(a,"icon",{get:function(){return this.getAttribute("icon")},set:function(b){return $APP.n(b)?this.setAttribute("icon",""+$APP.S.g(b)):this.removeAttribute("icon")},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",
|
|
18
18
|
""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"dismissible",{get:function(){return dq(this.getAttribute("dismissible"))},set:function(b){return $APP.n(b)?this.setAttribute("dismissible",""):this.setAttribute("dismissible","false")},enumerable:!0,configurable:!0});Object.defineProperty(a,"timeoutMs",{get:function(){return eq(this.getAttribute("timeout-ms"))},set:function(b){return b==null?this.removeAttribute("timeout-ms"):this.setAttribute("timeout-ms",
|
|
19
19
|
""+$APP.S.g(b|0))},enumerable:!0,configurable:!0})},yq=function(){var a=class extends HTMLElement{};a.observedAttributes=xq;a.prototype.connectedCallback=function(){iq(this);vq(this);uq(this);kq(this);qq(this);pq(this);return null};a.prototype.disconnectedCallback=function(){vq(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&(kq(this),$APP.n(this.isConnected)&&pq(this));return null};wq(a.prototype);return a},zq=function(){$APP.n(customElements.get("x-alert"))||
|
|
20
|
-
customElements.define("x-alert",yq());return null},xq="type text icon dismissible disabled timeout-ms".split(" "),hq=new $APP.K(null,"text-el","text-el",-1615414066);$APP.ka("
|
|
20
|
+
customElements.define("x-alert",yq());return null},xq="type text icon dismissible disabled timeout-ms".split(" "),hq=new $APP.K(null,"text-el","text-el",-1615414066);$APP.ka("baredom.exports.x_alert.init",zq);export const init=zq;
|
package/dist/x-avatar-group.js
CHANGED
|
@@ -9,4 +9,4 @@ b);$APP.ma(a,"__xAvatarGroupHandlers",{slot:b})},Pq=function(a){var b=$APP.l(a,"
|
|
|
9
9
|
configurable:!0})},Rq=function(a,b,c){Object.defineProperty(a,b,{get:function(){var d=this.getAttribute(b);return $APP.n(d)?d:c},set:function(d){return $APP.n(d)?this.setAttribute(b,""+$APP.S.g(d)):this.removeAttribute(b)},enumerable:!0,configurable:!0})},Sq=function(a){Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0})},Tq=function(a){Object.defineProperty(a,
|
|
10
10
|
"max",{get:function(){return Bq(this.getAttribute("max"))},set:function(b){return b!=null?this.setAttribute("max",""+$APP.S.g(b)):this.removeAttribute("max")},enumerable:!0,configurable:!0})},Uq=function(a){Rq(a,"size","md");Rq(a,"overlap","md");Rq(a,"direction","ltr");Qq(a);Sq(a);Tq(a)},Wq=function(){var a=class extends HTMLElement{};a.observedAttributes=Vq;a.prototype.connectedCallback=function(){Dq(this);Pq(this);Oq(this);Nq(this);return null};a.prototype.disconnectedCallback=function(){Pq(this);
|
|
11
11
|
return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&(b=Kq(this),$APP.N($APP.l(this,"__xAvatarGroupModel"),b)&&Mq(this,b));return null};Uq(a.prototype);return a},Xq=function(){$APP.n(customElements.get("x-avatar-group"))||customElements.define("x-avatar-group",Wq());return null},Eq=new $APP.K(null,"overlap-raw","overlap-raw",1202229114),Cq=new $APP.K(null,"overflow","overflow",2058931880),Fq=new $APP.K(null,"direction-raw","direction-raw",560730236),Jq=new $APP.K(null,"overlap",
|
|
12
|
-
"overlap",-1673335644);var Vq="size overlap max direction disabled label".split(" "),Gq=new $APP.R(null,new $APP.P(null,5,["xs",null,"md",null,"lg",null,"xl",null,"sm",null],null),null),Hq=new $APP.R(null,new $APP.P(null,4,["none",null,"md",null,"lg",null,"sm",null],null),null),Iq=new $APP.R(null,new $APP.P(null,2,["ltr",null,"rtl",null],null),null),Lq=new $APP.P(null,4,"none 0px sm -4px md -8px lg -12px".split(" "),null);$APP.ka("
|
|
12
|
+
"overlap",-1673335644);var Vq="size overlap max direction disabled label".split(" "),Gq=new $APP.R(null,new $APP.P(null,5,["xs",null,"md",null,"lg",null,"xl",null,"sm",null],null),null),Hq=new $APP.R(null,new $APP.P(null,4,["none",null,"md",null,"lg",null,"sm",null],null),null),Iq=new $APP.R(null,new $APP.P(null,2,["ltr",null,"rtl",null],null),null),Lq=new $APP.P(null,4,"none 0px sm -4px md -8px lg -12px".split(" "),null);$APP.ka("baredom.exports.x_avatar_group.init",Xq);export const init=Xq;
|
package/dist/x-avatar.js
CHANGED
|
@@ -15,4 +15,4 @@ b)}}a.__xAvatarHandlers=null},vF=function(a,b){Object.defineProperty(a,b,{get:fu
|
|
|
15
15
|
return null};a.prototype.disconnectedCallback=function(){uF(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&($APP.D.h(b,"src")&&(this.__xAvatarImgOk=!1),rF(this));return null};xF(a.prototype);return a},AF=function(){$APP.n(customElements.get("x-avatar"))||customElements.define("x-avatar",zF());return null},gF=new $APP.K(null,"src","src",-1651076051),XE=new $APP.K(null,"alt","alt",-3214426),dF=new $APP.K(null,"badge-el","badge-el",1341875403),eF=new $APP.K(null,
|
|
16
16
|
"badge-slot","badge-slot",2030670001),kF=new $APP.K(null,"shape-raw","shape-raw",1588938757),aF=new $APP.K(null,"initials-el","initials-el",2044340724),jF=new $APP.K(null,"initials-raw","initials-raw",1031756224),$E=new $APP.K(null,"img","img",1442687358),VE=new $APP.K(null,"derived","derived",1986040597),mF=new $APP.K(null,"src-raw","src-raw",-510472785),lF=new $APP.K(null,"alt-raw","alt-raw",-1423153400),bF=new $APP.K(null,"fallback-el","fallback-el",-208030239),ZE=new $APP.K(null,"root-el","root-el",
|
|
17
17
|
1068654895),hF=new $APP.K(null,"shape","shape",1190694006),cF=new $APP.K(null,"status-el","status-el",2132204108),UE=new $APP.K(null,"initials","initials",-2130377215);var yF="src alt name initials size shape variant status disabled".split(" "),oF=new $APP.R(null,new $APP.P(null,5,["xs",null,"md",null,"lg",null,"xl",null,"sm",null],null),null),qF=new $APP.R(null,new $APP.P(null,3,["rounded",null,"square",null,"circle",null],null),null),nF=new $APP.R(null,new $APP.P(null,3,["neutral",null,"brand",null,"subtle",null],null),null),pF=new $APP.R(null,new $APP.P(null,4,["online",null,"away",null,"offline",null,"busy",null],null),null);
|
|
18
|
-
$APP.bf([UE,$APP.yi,$APP.Wg,XE,$APP.ii,gF,$APP.Ag,$APP.Gg,hF],[new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.Li],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null)]);$APP.ka("
|
|
18
|
+
$APP.bf([UE,$APP.yi,$APP.Wg,XE,$APP.ii,gF,$APP.Ag,$APP.Gg,hF],[new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.Li],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null)]);$APP.ka("baredom.exports.x_avatar.init",AF);export const init=AF;
|
package/dist/x-badge.js
CHANGED
|
@@ -9,4 +9,4 @@ $APP.ma(a,"__xBadgeHandlers",{slot:b})},GE=function(a){var b=$APP.l(a,"__xBadgeH
|
|
|
9
9
|
b,{get:function(){var d=this.getAttribute(b);return $APP.n(d)?d:c},set:function(d){return $APP.n(d)?this.setAttribute(b,""+$APP.S.g(d)):this.removeAttribute(b)},enumerable:!0,configurable:!0})},JE=function(a,b){Object.defineProperty(a,b,{get:function(){return this.hasAttribute(b)},set:function(c){return $APP.n(c)?this.setAttribute(b,""):this.removeAttribute(b)},enumerable:!0,configurable:!0})},KE=function(a,b,c){Object.defineProperty(a,b,{get:function(){return nE(this.getAttribute(b),c)},set:function(d){return d!=
|
|
10
10
|
null?this.setAttribute(b,""+$APP.S.g(d)):this.removeAttribute(b)},enumerable:!0,configurable:!0})},LE=function(a){IE(a,"variant","neutral");IE(a,"size","md");JE(a,"pill");JE(a,"dot");HE(a,"text");HE(a,"aria-label");HE(a,"aria-describedby");KE(a,"count",null);KE(a,"max",99);Object.defineProperty(a,"displayText",{get:function(){return tE(DE(this))},enumerable:!0,configurable:!0})},NE=function(){var a=class extends HTMLElement{};a.observedAttributes=ME;a.prototype.connectedCallback=function(){CE(this);
|
|
11
11
|
GE(this);FE(this);EE(this);return null};a.prototype.disconnectedCallback=function(){GE(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&EE(this);return null};LE(a.prototype);return a},OE=function(){$APP.n(customElements.get("x-badge"))||customElements.define("x-badge",NE());return null},oE=new $APP.K(null,"has-slot?","has-slot?",181244965),rE=new $APP.K(null,"empty","empty",767870958),pE=new $APP.K(null,"dot","dot",1442709401),xE=new $APP.K(null,"pill","pill",-37707E3),
|
|
12
|
-
wE=new $APP.K(null,"count-raw","count-raw",-952861839),qE=new $APP.K(null,"slot","slot",240229571),uE=new $APP.K(null,"dot-raw","dot-raw",1754908187),vE=new $APP.K(null,"pill-raw","pill-raw",-557846051),BE=new $APP.K(null,"base","base",185279322);var ME="variant size pill dot count max text aria-label aria-describedby".split(" "),yE=new $APP.R(null,new $APP.P(null,5,["success",null,"neutral",null,"warning",null,"info",null,"error",null],null),null),zE=new $APP.R(null,new $APP.P(null,2,["md",null,"sm",null],null),null);$APP.ka("
|
|
12
|
+
wE=new $APP.K(null,"count-raw","count-raw",-952861839),qE=new $APP.K(null,"slot","slot",240229571),uE=new $APP.K(null,"dot-raw","dot-raw",1754908187),vE=new $APP.K(null,"pill-raw","pill-raw",-557846051),BE=new $APP.K(null,"base","base",185279322);var ME="variant size pill dot count max text aria-label aria-describedby".split(" "),yE=new $APP.R(null,new $APP.P(null,5,["success",null,"neutral",null,"warning",null,"info",null,"error",null],null),null),zE=new $APP.R(null,new $APP.P(null,2,["md",null,"sm",null],null),null);$APP.ka("baredom.exports.x_badge.init",OE);export const init=OE;
|
package/dist/x-breadcrumbs.js
CHANGED
|
@@ -12,4 +12,4 @@ $APP.n(c)&&(c=$APP.Qh.g(c),b=$APP.l(b,"slot"),$APP.n($APP.n(c)?b:c)&&c.removeEve
|
|
|
12
12
|
""+$APP.S.g(d)):this.removeAttribute(b)},enumerable:!0,configurable:!0})},lo=function(a,b){Object.defineProperty(a,b,{get:function(){return this.hasAttribute(b)},set:function(c){return $APP.n(c)?this.setAttribute(b,""):this.removeAttribute(b)},enumerable:!0,configurable:!0})},mo=function(a,b,c){Object.defineProperty(a,b,{get:function(){return Mn(this.getAttribute(b),c)},set:function(d){return d!=null?this.setAttribute(b,""+$APP.S.g(d)):this.removeAttribute(b)},enumerable:!0,configurable:!0})},no=
|
|
13
13
|
function(a){ko(a,"separator","/");ko(a,"size","md");ko(a,"variant","default");lo(a,"wrap");lo(a,"disabled");lo(a,"preserve-aria-current");mo(a,"max-items",null);mo(a,"items-before",1);mo(a,"items-after",2);jo(a,"aria-label");jo(a,"aria-describedby")},po=function(){var a=class extends HTMLElement{};a.observedAttributes=oo;a.prototype.connectedCallback=function(){Nn(this);io(this);ho(this);go(this);return null};a.prototype.disconnectedCallback=function(){io(this);return null};a.prototype.attributeChangedCallback=
|
|
14
14
|
function(b,c,d){$APP.N(c,d)&&go(this);return null};no(a.prototype);return a},qo=function(){$APP.n(customElements.get("x-breadcrumbs"))||customElements.define("x-breadcrumbs",po());return null},Rn=new $APP.K(null,"max-items-raw","max-items-raw",-340487390),Zn=new $APP.K(null,"items-after","items-after",358736705),$n=new $APP.K(null,"wrap","wrap",851669987),Sn=new $APP.K(null,"wrap-raw","wrap-raw",-1468030804),ao=new $APP.K(null,"max-items","max-items",-1969244147),Wn=new $APP.K(null,"separator-raw",
|
|
15
|
-
"separator-raw",1358337914),eo=new $APP.K(null,"ellipsis-at","ellipsis-at",-628372349),Un=new $APP.K(null,"preserve-aria-current-present?","preserve-aria-current-present?",729931506),Vn=new $APP.K(null,"items-before-raw","items-before-raw",1580997624),Tn=new $APP.K(null,"items-after-raw","items-after-raw",-1677187220),bo=new $APP.K(null,"items-before","items-before",-1151895719),Yn=new $APP.K(null,"preserve-aria-current","preserve-aria-current",682773185),fo=new $APP.K(null,"total","total",1916810418);var oo="separator size variant wrap max-items items-before items-after disabled preserve-aria-current aria-label aria-describedby".split(" "),co=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null),Xn=new $APP.R(null,new $APP.P(null,3,["subtle",null,"text",null,"default",null],null),null);$APP.ka("
|
|
15
|
+
"separator-raw",1358337914),eo=new $APP.K(null,"ellipsis-at","ellipsis-at",-628372349),Un=new $APP.K(null,"preserve-aria-current-present?","preserve-aria-current-present?",729931506),Vn=new $APP.K(null,"items-before-raw","items-before-raw",1580997624),Tn=new $APP.K(null,"items-after-raw","items-after-raw",-1677187220),bo=new $APP.K(null,"items-before","items-before",-1151895719),Yn=new $APP.K(null,"preserve-aria-current","preserve-aria-current",682773185),fo=new $APP.K(null,"total","total",1916810418);var oo="separator size variant wrap max-items items-before items-after disabled preserve-aria-current aria-label aria-describedby".split(" "),co=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null),Xn=new $APP.R(null,new $APP.P(null,3,["subtle",null,"text",null,"default",null],null),null);$APP.ka("baredom.exports.x_breadcrumbs.init",qo);export const init=qo;
|
package/dist/x-button.js
CHANGED
|
@@ -14,4 +14,4 @@ this.attachShadow({mode:"open"});var d=Uu("style"),e=Uu("button"),f=Uu("span"),h
|
|
|
14
14
|
e.setAttribute("part","button");f.setAttribute("part","inner");h.setAttribute("part","icon-start");k.setAttribute("part","label");m.setAttribute("part","spinner");A.setAttribute("part","spinner-slot");q.setAttribute("part","spinner-fallback");r.setAttribute("part","icon-end");w.setAttribute("name","icon-start");z.setAttribute("name","icon-end");A.setAttribute("name","spinner");m.setAttribute("aria-hidden","true");q.setAttribute("aria-hidden","true");h.appendChild(w);k.appendChild(u);m.appendChild(A);
|
|
15
15
|
m.appendChild(q);r.appendChild(z);f.appendChild(h);f.appendChild(k);f.appendChild(m);f.appendChild(r);e.appendChild(f);c.appendChild(d);c.appendChild(e);c={root:c,style:d,button:e,inner:f,"label-slot":u,"icon-start-slot":w,"icon-end-slot":z,"spinner-slot":A};d=c.button;Iu(this,!1);Ju(this,!1);Lu(this,null);Mu(this,null);Zu(this,d);$u(this,d);av(this,d);bv(this,c);this.__xButtonState=c}Yu(this);return Wu(this,Gu(this))};a.disconnectedCallback=function(){Iu(this,!1);Ju(this,!1);Lu(this,null);return Mu(this,
|
|
16
16
|
null)};a.attributeChangedCallback=function(){var c=Gu(this);$APP.n(c)?(Yu(this),c=Wu(this,c)):c=null;return c};b.observedAttributes=ev;b.prototype=a;return customElements.define("x-button",b)},gv=function(){return fv()},Nu=new $APP.K(null,"pressed","pressed",1100937946),Vu=new $APP.K(null,"has-default-text?","has-default-text?",2021837624);var Ou=new $APP.R(null,new $APP.P(null,3,["reset",null,"submit",null,"button",null],null),null),Pu=new $APP.R(null,new $APP.P(null,5,["secondary",null,"tertiary",null,"primary",null,"danger",null,"ghost",null],null),null),Qu=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null),ev="disabled loading pressed type variant size label".split(" ");
|
|
17
|
-
$APP.wd(["press",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.Ch,$APP.X],null)],null),"press-start",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.Ch,$APP.X],null)],null),"press-end",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.Ch,$APP.X],null)],null),"hover-start",new $APP.P(null,1,[$APP.Y,$APP.xd],null),"hover-end",new $APP.P(null,1,[$APP.Y,$APP.xd],null),"focus-visible",new $APP.P(null,1,[$APP.Y,$APP.xd],null)]);$APP.ka("
|
|
17
|
+
$APP.wd(["press",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.Ch,$APP.X],null)],null),"press-start",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.Ch,$APP.X],null)],null),"press-end",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.Ch,$APP.X],null)],null),"hover-start",new $APP.P(null,1,[$APP.Y,$APP.xd],null),"hover-end",new $APP.P(null,1,[$APP.Y,$APP.xd],null),"focus-visible",new $APP.P(null,1,[$APP.Y,$APP.xd],null)]);$APP.ka("baredom.exports.x_button.init",gv);export const init=gv;
|
|
@@ -17,4 +17,4 @@ c,d,e,f,h,k),set:function(r,u,w,z,A,C,F){return function(E){return E==null?this.
|
|
|
17
17
|
null?this.removeAttribute(F):this.setAttribute(F,""+$APP.S.g(E))}}(b,c,d,e,k,m,q,f,h),enumerable:!0,configurable:!0}),b=$APP.y(f),c=null,d=0),e=0;else break;Object.defineProperty(a,"close",{value:function(){return mr(this)},enumerable:!0,configurable:!0,writable:!0});Object.defineProperty(a,"confirm",{value:function(){return or(this)},enumerable:!0,configurable:!0,writable:!0});Object.defineProperty(a,"cancel",{value:function(r){return nr(this,$APP.n(r)?r:"cancel-button")},enumerable:!0,configurable:!0,
|
|
18
18
|
writable:!0})},ur=function(){function a(){return Reflect.construct(HTMLElement,[],$APP.Ra(b))}var b=new $APP.Dd;$APP.Ed(b,a);return a},wr=function(){if(!$APP.n(customElements.get("x-cancel-dialogue"))){var a=Object.create(HTMLElement.prototype),b=ur();Object.setPrototypeOf(b,HTMLElement);a.constructor=b;tr(a);a.connectedCallback=function(){jr(this);rr(this);qr(this);pr(this);return null};a.disconnectedCallback=function(){rr(this);return null};a.attributeChangedCallback=function(c,d,e){return sr(this,
|
|
19
19
|
c,d,e)};b.observedAttributes=vr;b.prototype=a;customElements.define("x-cancel-dialogue",b)}return null},xr=function(){return wr()},cr=new $APP.K(null,"headline","headline",-157157727),Yq=new $APP.K(null,"headline-raw","headline-raw",1141142757),fr=new $APP.K(null,"danger?","danger?",181682216),er=new $APP.K(null,"cancel-text","cancel-text",1885137831),ar=new $APP.K(null,"cancel-text-raw","cancel-text-raw",615622099),$q=new $APP.K(null,"confirm-text-raw","confirm-text-raw",-1317418708),br=new $APP.K(null,
|
|
20
|
-
"danger-present?","danger-present?",-439648505),dr=new $APP.K(null,"confirm-text","confirm-text",-1839494031),Zq=new $APP.K(null,"message-raw","message-raw",952235685);var vr="open disabled headline message confirm-text cancel-text danger portal".split(" ");$APP.wd(["x-cancel-dialogue-cancel-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,1,[$APP.xh,$APP.X],null)],null),"x-cancel-dialogue-cancel",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,$APP.xd],null),"x-cancel-dialogue-confirm-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,$APP.xd],null),"x-cancel-dialogue-confirm",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,$APP.xd],null)]);var ir={n:0};$APP.ka("
|
|
20
|
+
"danger-present?","danger-present?",-439648505),dr=new $APP.K(null,"confirm-text","confirm-text",-1839494031),Zq=new $APP.K(null,"message-raw","message-raw",952235685);var vr="open disabled headline message confirm-text cancel-text danger portal".split(" ");$APP.wd(["x-cancel-dialogue-cancel-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,1,[$APP.xh,$APP.X],null)],null),"x-cancel-dialogue-cancel",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,$APP.xd],null),"x-cancel-dialogue-confirm-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,$APP.xd],null),"x-cancel-dialogue-confirm",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,$APP.xd],null)]);var ir={n:0};$APP.ka("baredom.exports.x_cancel_dialogue.init",xr);export const init=xr;
|
package/dist/x-card.js
CHANGED
|
@@ -5,4 +5,4 @@ ot(a,"role",$APP.Yg.g(b));ot(a,"tabindex",$APP.Ug.g(b));ot(a,"aria-label",$APP.b
|
|
|
5
5
|
nt(a)}return null},rt=function(a){a.addEventListener("click",function(){var b=kt(lt(a));return $APP.n(mt(b))?nt(a):null});a.addEventListener("keydown",function(b){return qt(a,b)})},st=function(a){Object.defineProperty(a.prototype,"interactive",{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute("interactive")},set:function(b){return $APP.n(b)?this.setAttribute("interactive",""):this.removeAttribute("interactive")}});Object.defineProperty(a.prototype,"disabled",{configurable:!0,
|
|
6
6
|
enumerable:!0,get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")}})},ut=function(){var a=class extends HTMLElement{};a.observedAttributes=tt;a.prototype.connectedCallback=function(){if($APP.l(this,"__x_card_initialized")!==!0){var b=this.attachShadow({mode:"open"}),c=document.createElement("style");c.textContent="\n :host {\n display: block;\n color-scheme: light dark;\n\n --x-card-background: rgba(255, 255, 255, 0.92);\n --x-card-color: #111827;\n --x-card-border-color: rgba(17, 24, 39, 0.12);\n --x-card-filled-background: rgba(241, 245, 249, 0.96);\n --x-card-ghost-background: transparent;\n --x-card-hover-background: rgba(15, 23, 42, 0.04);\n --x-card-press-background: rgba(15, 23, 42, 0.08);\n --x-card-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);\n --x-card-focus-ring: rgba(59, 130, 246, 0.55);\n --x-card-disabled-opacity: 0.6;\n\n --x-card-padding-none: 0;\n --x-card-padding-sm: 0.5rem;\n --x-card-padding-md: 1rem;\n --x-card-padding-lg: 1.5rem;\n\n --x-card-radius-none: 0;\n --x-card-radius-sm: 0.375rem;\n --x-card-radius-md: 0.75rem;\n --x-card-radius-lg: 1rem;\n --x-card-radius-xl: 1.5rem;\n\n --x-card-transition-duration: 140ms;\n --x-card-transition-timing: ease;\n\n outline: none;\n }\n\n @media (prefers-color-scheme: dark) {\n :host {\n --x-card-background: rgba(15, 23, 42, 0.88);\n --x-card-color: #e5e7eb;\n --x-card-border-color: rgba(148, 163, 184, 0.24);\n --x-card-filled-background: rgba(30, 41, 59, 0.96);\n --x-card-hover-background: rgba(148, 163, 184, 0.10);\n --x-card-press-background: rgba(148, 163, 184, 0.16);\n --x-card-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);\n --x-card-focus-ring: rgba(96, 165, 250, 0.6);\n }\n }\n\n .base {\n box-sizing: border-box;\n display: block;\n min-width: 0;\n background: var(--x-card-background);\n color: var(--x-card-color);\n border: 1px solid transparent;\n border-radius: var(--x-card-radius-lg);\n transition:\n background var(--x-card-transition-duration) var(--x-card-transition-timing),\n box-shadow var(--x-card-transition-duration) var(--x-card-transition-timing),\n border-color var(--x-card-transition-duration) var(--x-card-transition-timing),\n transform var(--x-card-transition-duration) var(--x-card-transition-timing);\n }\n\n .base[data-variant\x3d'elevated'] {\n background: var(--x-card-background);\n box-shadow: var(--x-card-shadow);\n }\n\n .base[data-variant\x3d'outlined'] {\n background: var(--x-card-background);\n border-color: var(--x-card-border-color);\n box-shadow: none;\n }\n\n .base[data-variant\x3d'filled'] {\n background: var(--x-card-filled-background);\n box-shadow: none;\n }\n\n .base[data-variant\x3d'ghost'] {\n background: var(--x-card-ghost-background);\n box-shadow: none;\n }\n\n .base[data-padding\x3d'none'] { padding: var(--x-card-padding-none); }\n .base[data-padding\x3d'sm'] { padding: var(--x-card-padding-sm); }\n .base[data-padding\x3d'md'] { padding: var(--x-card-padding-md); }\n .base[data-padding\x3d'lg'] { padding: var(--x-card-padding-lg); }\n\n .base[data-radius\x3d'none'] { border-radius: var(--x-card-radius-none); }\n .base[data-radius\x3d'sm'] { border-radius: var(--x-card-radius-sm); }\n .base[data-radius\x3d'md'] { border-radius: var(--x-card-radius-md); }\n .base[data-radius\x3d'lg'] { border-radius: var(--x-card-radius-lg); }\n .base[data-radius\x3d'xl'] { border-radius: var(--x-card-radius-xl); }\n\n .base[data-interactive\x3d'true']:not([data-disabled\x3d'true']) {\n cursor: pointer;\n }\n\n .base[data-interactive\x3d'true']:not([data-disabled\x3d'true']):hover {\n background: var(--x-card-hover-background);\n }\n\n .base[data-interactive\x3d'true']:not([data-disabled\x3d'true']):active {\n background: var(--x-card-press-background);\n transform: translateY(1px);\n }\n\n .base[data-disabled\x3d'true'] {\n opacity: var(--x-card-disabled-opacity);\n cursor: default;\n transform: none;\n }\n\n :host(:focus-visible) .base[data-interactive\x3d'true']:not([data-disabled\x3d'true']) {\n box-shadow:\n 0 0 0 3px var(--x-card-focus-ring),\n var(--x-card-shadow);\n }\n\n @media (prefers-reduced-motion: reduce) {\n .base {\n transition: none;\n }\n\n .base[data-interactive\x3d'true']:not([data-disabled\x3d'true']):active {\n transform: none;\n }\n }\n ";
|
|
7
7
|
var d=document.createElement("div");d.setAttribute("part","base");d.className="base";var e=document.createElement("slot");d.appendChild(e);b.appendChild(c);b.appendChild(d);this.__x_card_root=b;this.__x_card_style=c;this.__x_card_base=d;this.__x_card_slot=e;rt(this);this.__x_card_initialized=!0}pt(this);return this};a.prototype.disconnectedCallback=function(){return null};a.prototype.attributeChangedCallback=function(){return $APP.l(this,"__x_card_initialized")===!0?pt(this):null};st(a);return a},
|
|
8
|
-
vt=function(){return $APP.n(customElements.get("x-card"))?null:customElements.define("x-card",ut())},jt=new $APP.K(null,"aria-disabled","aria-disabled",-667357160),ft=new $APP.K(null,"radius","radius",-2073122258);var tt="variant padding radius interactive disabled label".split(" "),gt=new $APP.R(null,new $APP.P(null,4,["outlined",null,"elevated",null,"filled",null,"ghost",null],null),null),ht=new $APP.R(null,new $APP.P(null,4,["none",null,"md",null,"lg",null,"sm",null],null),null),it=new $APP.R(null,new $APP.P(null,5,["none",null,"md",null,"lg",null,"xl",null,"sm",null],null),null);$APP.ka("
|
|
8
|
+
vt=function(){return $APP.n(customElements.get("x-card"))?null:customElements.define("x-card",ut())},jt=new $APP.K(null,"aria-disabled","aria-disabled",-667357160),ft=new $APP.K(null,"radius","radius",-2073122258);var tt="variant padding radius interactive disabled label".split(" "),gt=new $APP.R(null,new $APP.P(null,4,["outlined",null,"elevated",null,"filled",null,"ghost",null],null),null),ht=new $APP.R(null,new $APP.P(null,4,["none",null,"md",null,"lg",null,"sm",null],null),null),it=new $APP.R(null,new $APP.P(null,5,["none",null,"md",null,"lg",null,"xl",null,"sm",null],null),null);$APP.ka("baredom.exports.x_card.init",vt);export const init=vt;
|
package/dist/x-chart.js
CHANGED
|
@@ -42,4 +42,4 @@ Nz=new $APP.K(null,"axes-raw","axes-raw",-839946224),Jz=new $APP.K(null,"padding
|
|
|
42
42
|
-969203007),aA=new $APP.K(null,"x-kind","x-kind",693167455),Xz=new $APP.K(null,"cursor","cursor",1011937484),Kz=new $APP.K(null,"tooltip-present?","tooltip-present?",-2098824029),Wz=new $APP.K(null,"y-fmt","y-fmt",2092412811),rA=new $APP.K(null,"y0","y0",111454807),tA=new $APP.K(null,"y1","y1",589123466),Oz=new $APP.K(null,"height-raw","height-raw",-867301006),xA=new $APP.K(null,"i","i",-1386841315),Fz=new $APP.K(null,"d","d",1972142424),sA=new $APP.K(null,"x1","x1",-1863922247),qA=new $APP.K(null,
|
|
43
43
|
"x0","x0",410843387),Iz=new $APP.K(null,"selected-raw","selected-raw",-1471626848),wA=new $APP.K(null,"si","si",793409822),$z=new $APP.K(null,"y-ticks","y-ticks",-843622722),Vz=new $APP.K(null,"series","series",600710694),Rz=new $APP.K(null,"data-raw","data-raw",822066711),Mz=new $APP.K(null,"grid-present?","grid-present?",-468948562);var TA="type data height padding x-format y-format grid axes tooltip cursor disabled loading selected".split(" "),eA=new $APP.R(null,new $APP.P(null,3,["bar",null,"area",null,"line",null],null),null),dA=new $APP.R(null,new $APP.P(null,3,["none",null,"x",null,"nearest",null],null),null);
|
|
44
44
|
$APP.bf([$APP.bj,$APP.yi,new $APP.K(null,"axes","axes",1970866440),new $APP.K(null,"grid","grid",402978600),Xz,$APP.Z,$APP.Hh,$APP.Ni,new $APP.K(null,"tooltip","tooltip",-1809677058),$APP.Ki,$APP.Pg],[new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"selected"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"disabled"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"axes"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"grid"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"cursor"],null),new $APP.P(null,
|
|
45
|
-
2,[$APP.Z,$APP.X,$APP.Qg,"type"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"loading"],null),new $APP.P(null,2,[$APP.Z,$APP.Gh,$APP.Qg,"padding"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"tooltip"],null),new $APP.P(null,2,[$APP.Z,$APP.Gh,$APP.Qg,"height"],null),new $APP.P(null,1,[$APP.Z,$APP.zh],null)]);$APP.ka("
|
|
45
|
+
2,[$APP.Z,$APP.X,$APP.Qg,"type"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"loading"],null),new $APP.P(null,2,[$APP.Z,$APP.Gh,$APP.Qg,"padding"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"tooltip"],null),new $APP.P(null,2,[$APP.Z,$APP.Gh,$APP.Qg,"height"],null),new $APP.P(null,1,[$APP.Z,$APP.zh],null)]);$APP.ka("baredom.exports.x_chart.init",VA);export const init=VA;
|
package/dist/x-checkbox.js
CHANGED
|
@@ -9,4 +9,4 @@ b,{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute(c)},set
|
|
|
9
9
|
Ir(b,"checked","checked");Ir(b,"indeterminate","indeterminate");Ir(b,"disabled","disabled");Ir(b,"readOnly","readonly");Ir(b,"required","required");Jr(b,"name","name");Jr(b,"value","value");b.connectedCallback=function(){if(!$APP.n($APP.l(this,"__xCheckboxRefs"))){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("button"),f=document.createElement("span"),h=document.createElement("span");d.textContent=":host{display:inline-block;vertical-align:middle;color-scheme:light dark;--x-checkbox-size:16px;--x-checkbox-border-width:2px;--x-checkbox-border-color:#6b7280;--x-checkbox-border-radius:4px;--x-checkbox-bg:#ffffff;--x-checkbox-bg-checked:#2563eb;--x-checkbox-bg-indeterminate:#2563eb;--x-checkbox-border-checked:#2563eb;--x-checkbox-border-indeterminate:#2563eb;--x-checkbox-check-color:#ffffff;--x-checkbox-focus-ring:#60a5fa;--x-checkbox-disabled-opacity:0.45;--x-checkbox-transition:background 120ms ease,border-color 120ms ease;}@media (prefers-color-scheme:dark){:host{--x-checkbox-border-color:#9ca3af;--x-checkbox-bg:#1f2937;--x-checkbox-bg-checked:#3b82f6;--x-checkbox-bg-indeterminate:#3b82f6;--x-checkbox-border-checked:#3b82f6;--x-checkbox-border-indeterminate:#3b82f6;--x-checkbox-focus-ring:#93c5fd;}}[part\x3dcontrol]{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;}[part\x3dcontrol][disabled]{cursor:default;opacity:var(--x-checkbox-disabled-opacity);}[part\x3dcontrol]:focus-visible{outline:none;box-shadow:0 0 0 3px var(--x-checkbox-focus-ring);border-radius:calc(var(--x-checkbox-border-radius) + 2px);}[part\x3dbox]{display:inline-flex;align-items:center;justify-content:center;width:var(--x-checkbox-size);height:var(--x-checkbox-size);border:var(--x-checkbox-border-width) solid var(--x-checkbox-border-color);border-radius:var(--x-checkbox-border-radius);background:var(--x-checkbox-bg);transition:var(--x-checkbox-transition);position:relative;flex-shrink:0;}:host([data-checked]) [part\x3dbox]{background:var(--x-checkbox-bg-checked);border-color:var(--x-checkbox-border-checked);}:host([data-indeterminate]) [part\x3dbox]{background:var(--x-checkbox-bg-indeterminate);border-color:var(--x-checkbox-border-indeterminate);}[part\x3dcheck]{display:inline-flex;align-items:center;justify-content:center;position:relative;width:100%;height:100%;}[part\x3dcheck]::before{content:'\\2713';color:var(--x-checkbox-check-color);font-size:10px;font-weight:700;line-height:1;opacity:0;transition:opacity 100ms ease;position:absolute;}:host([data-checked]) [part\x3dcheck]::before{opacity:1;}[part\x3dcheck]::after{content:'';display:block;width:8px;height:2px;background:var(--x-checkbox-check-color);border-radius:1px;opacity:0;transition:opacity 100ms ease;position:absolute;}:host([data-indeterminate]) [part\x3dcheck]::after{opacity:1;}@media (prefers-reduced-motion:reduce){[part\x3dbox]{transition:none;}[part\x3dcheck]::before{transition:none;}[part\x3dcheck]::after{transition:none;}}";
|
|
10
10
|
e.setAttribute("part","control");e.setAttribute("type","button");f.setAttribute("part","box");h.setAttribute("part","check");f.appendChild(h);e.appendChild(f);c.appendChild(d);c.appendChild(e);this.__xCheckboxRefs={root:c,control:e,box:f,check:h};$APP.n(this.attachInternals)&&(this.__xCheckboxInternals=this.attachInternals())}Hr(this);c=$APP.l(this,"__xCheckboxRefs");$APP.n(c)&&(c=$APP.l(c,"control"),d=Fr(this),e=Gr(this),f={click:d,keydown:e},c.addEventListener("click",d),c.addEventListener("keydown",
|
|
11
11
|
e),this.__xCheckboxHandlers=f);d=this.getAttribute("id");$APP.n(d)&&(c=document.querySelector("label[for\x3d'"+$APP.S.g(d)+"']"),$APP.n(c)&&(e=c.getAttribute("id"),$APP.n(e)?c=e:(d="x-cb-lbl-"+$APP.S.g(d),c.setAttribute("id",d),c=d),d=$APP.l(this,"__xCheckboxRefs"),$APP.n(d)&&$APP.l(d,"control").setAttribute("aria-labelledby",c)));return Dr(this)};b.disconnectedCallback=function(){return Hr(this)};b.attributeChangedCallback=function(){return Dr(this)};b.formDisabledCallback=function(c){zr(this,"disabled",
|
|
12
|
-
$APP.J(c));return Dr(this)};b.formResetCallback=function(){this.removeAttribute("checked");this.removeAttribute("indeterminate");return Dr(this)};return a},Mr=function(){return $APP.n(customElements.get("x-checkbox"))?null:customElements.define("x-checkbox",Lr())},Br=new $APP.K(null,"indeterminate?","indeterminate?",-1382048766),Ar=new $APP.K(null,"indeterminate-present?","indeterminate-present?",-1714683438);var Kr="checked indeterminate disabled readonly required name value aria-label aria-describedby aria-labelledby".split(" ");$APP.wd(["x-checkbox-change-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,3,[$APP.T,$APP.X,$APP.Bg,$APP.Li,$APP.gi,$APP.Li],null)],null),"x-checkbox-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,2,[$APP.T,$APP.X,$APP.Si,$APP.Li],null)],null)]);$APP.ka("
|
|
12
|
+
$APP.J(c));return Dr(this)};b.formResetCallback=function(){this.removeAttribute("checked");this.removeAttribute("indeterminate");return Dr(this)};return a},Mr=function(){return $APP.n(customElements.get("x-checkbox"))?null:customElements.define("x-checkbox",Lr())},Br=new $APP.K(null,"indeterminate?","indeterminate?",-1382048766),Ar=new $APP.K(null,"indeterminate-present?","indeterminate-present?",-1714683438);var Kr="checked indeterminate disabled readonly required name value aria-label aria-describedby aria-labelledby".split(" ");$APP.wd(["x-checkbox-change-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,3,[$APP.T,$APP.X,$APP.Bg,$APP.Li,$APP.gi,$APP.Li],null)],null),"x-checkbox-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,2,[$APP.T,$APP.X,$APP.Si,$APP.Li],null)],null)]);$APP.ka("baredom.exports.x_checkbox.init",Mr);export const init=Mr;
|
package/dist/x-chip.js
CHANGED
|
@@ -7,4 +7,4 @@ if($APP.n(b)){var c=$APP.l(a,"__xChipRefs"),d=$APP.l(b,"click");b=$APP.l(b,"keyd
|
|
|
7
7
|
set:function(c){return $APP.n(c)?this.setAttribute(b,""):this.removeAttribute(b)},enumerable:!0,configurable:!0})},pn=function(a){nn(a,"label");nn(a,"value");on(a,"removable");on(a,"disabled")},rn=function(){var a=class extends HTMLElement{},b=a.prototype;Object.defineProperty(a,"observedAttributes",{get:function(){return qn}});b.connectedCallback=function(){if(!$APP.n($APP.l(this,"__xChipRefs"))){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("span"),
|
|
8
8
|
f=document.createElement("span"),h=document.createElement("button"),k=document.createElement("span");d.textContent=":host{display:inline-flex;align-items:center;vertical-align:middle;color-scheme:light dark;font-family:inherit;font-size:0.875rem;line-height:1;border-radius:999px;background:rgba(0,0,0,0.08);border:1px solid rgba(0,0,0,0.12);color:rgba(0,0,0,0.80);padding:0.25rem 0.625rem;gap:0.25rem;box-sizing:border-box;cursor:default;user-select:none;outline:none;}@media (prefers-color-scheme:dark){:host{background:rgba(255,255,255,0.10);border-color:rgba(255,255,255,0.16);color:rgba(255,255,255,0.88);}}:host(:focus-visible){outline:2px solid currentColor;outline-offset:2px;}:host([disabled]){opacity:0.55;pointer-events:none;}[part\x3dcontainer]{display:inline-flex;align-items:center;gap:0.25rem;}[part\x3dlabel]{display:inline;font-size:inherit;color:inherit;}[part\x3dremove]{display:none;align-items:center;justify-content:center;width:1rem;height:1rem;border:none;background:none;color:inherit;cursor:pointer;padding:0;border-radius:50%;font-size:1rem;line-height:1;opacity:0.7;flex-shrink:0;}[part\x3dremove]:hover{opacity:1;}[part\x3dremove]:focus-visible{outline:2px solid currentColor;outline-offset:1px;}:host([data-removable]) [part\x3dremove]{display:inline-flex;}@keyframes x-chip-exit{to{opacity:0;transform:scale(0.85);}}:host([data-exiting]){animation:x-chip-exit 300ms forwards;}@media (prefers-reduced-motion:reduce){:host([data-exiting]){animation-duration:0ms;}}";
|
|
9
9
|
e.setAttribute("part","container");f.setAttribute("part","label");h.setAttribute("part","remove");h.setAttribute("type","button");h.setAttribute("aria-label","Remove");k.setAttribute("aria-hidden","true");k.textContent="×";h.appendChild(k);e.appendChild(f);e.appendChild(h);c.appendChild(d);c.appendChild(e);this.__xChipRefs=new $APP.P(null,4,[$APP.sh,c,$APP.ri,e,$APP.Ri,f,jn,h],null)}mn(this);ln(this);return kn(this)};b.disconnectedCallback=function(){return mn(this)};b.attributeChangedCallback=function(c,
|
|
10
|
-
d,e){return $APP.N(d,e)?$APP.n($APP.l(this,"__xChipRefs"))?kn(this):null:null};pn(b);return a},sn=function(){$APP.n(customElements.get("x-chip"))||customElements.define("x-chip",rn());return null},cn=new $APP.K(null,"removable-raw","removable-raw",1718453796),jn=new $APP.K(null,"remove-btn","remove-btn",843430290),dn=new $APP.K(null,"removable?","removable?",1886800649);var qn=["label","value","removable","disabled"];$APP.ka("
|
|
10
|
+
d,e){return $APP.N(d,e)?$APP.n($APP.l(this,"__xChipRefs"))?kn(this):null:null};pn(b);return a},sn=function(){$APP.n(customElements.get("x-chip"))||customElements.define("x-chip",rn());return null},cn=new $APP.K(null,"removable-raw","removable-raw",1718453796),jn=new $APP.K(null,"remove-btn","remove-btn",843430290),dn=new $APP.K(null,"removable?","removable?",1886800649);var qn=["label","value","removable","disabled"];$APP.ka("baredom.exports.x_chip.init",sn);export const init=sn;
|
package/dist/x-collapse.js
CHANGED
|
@@ -10,4 +10,4 @@ class extends HTMLElement{},b=a.prototype;Object.defineProperty(a,"observedAttri
|
|
|
10
10
|
m=document.createElement("div"),q=document.createElement("div"),r=document.createElement("slot");d.textContent=":host{display:block;color-scheme:light dark;--x-collapse-border-radius:8px;--x-collapse-border:1px solid #e2e8f0;--x-collapse-bg:#ffffff;--x-collapse-trigger-bg:#f8fafc;--x-collapse-trigger-bg-hover:#f1f5f9;--x-collapse-trigger-color:#0f172a;--x-collapse-trigger-padding:0.75rem 1rem;--x-collapse-content-padding:1rem;--x-collapse-font-size:0.9375rem;--x-collapse-font-weight:600;--x-collapse-chevron-color:#64748b;--x-collapse-focus-ring:#60a5fa;--x-collapse-transition-easing:ease;}@media (prefers-color-scheme:dark){:host{--x-collapse-border:1px solid #334155;--x-collapse-bg:#1e293b;--x-collapse-trigger-bg:#0f172a;--x-collapse-trigger-bg-hover:#1e293b;--x-collapse-trigger-color:#e2e8f0;--x-collapse-chevron-color:#94a3b8;--x-collapse-focus-ring:#93c5fd;}}[part\x3dcontainer]{box-sizing:border-box;border:var(--x-collapse-border);border-radius:var(--x-collapse-border-radius);background:var(--x-collapse-bg);overflow:hidden;}[part\x3dtrigger]{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;padding:var(--x-collapse-trigger-padding);background:var(--x-collapse-trigger-bg);color:var(--x-collapse-trigger-color);font-size:var(--x-collapse-font-size);font-weight:var(--x-collapse-font-weight);cursor:pointer;user-select:none;}[part\x3dtrigger][disabled]{cursor:default;opacity:0.55;}[part\x3dtrigger]:hover:not([disabled]){background:var(--x-collapse-trigger-bg-hover);}[part\x3dtrigger]:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--x-collapse-focus-ring);}[part\x3dheader-text]{flex:1;text-align:start;}[part\x3dchevron]{display:inline-block;margin-inline-start:0.5rem;color:var(--x-collapse-chevron-color);transition:transform 200ms ease;flex-shrink:0;}:host([open]) [part\x3dchevron]{transform:rotate(180deg);}[part\x3dcontent]{overflow:hidden;height:0;}:host([open]) [part\x3dcontent]{height:auto;}[part\x3dcontent-inner]{padding:var(--x-collapse-content-padding);}@media (prefers-reduced-motion:reduce){[part\x3dcontent]{transition:none !important;}[part\x3dchevron]{transition:none !important;}}";
|
|
11
11
|
e.setAttribute("part","container");f.setAttribute("part","trigger");f.setAttribute("type","button");h.setAttribute("part","header-text");k.setAttribute("part","chevron");k.setAttribute("aria-hidden","true");m.setAttribute("part","content");q.setAttribute("part","content-inner");r.setAttribute("name","content");k.textContent="▼";f.appendChild(h);f.appendChild(k);q.appendChild(r);m.appendChild(q);e.appendChild(f);e.appendChild(m);c.appendChild(d);c.appendChild(e);this.__xCollapseRefs={root:c,trigger:f,
|
|
12
12
|
"header-text":h,content:m}}ZH(this);c=$APP.l(this,"__xCollapseRefs");$APP.n(c)&&(c=$APP.l(c,"trigger"),d=XH(this),e=YH(this),f={click:d,keydown:e},c.addEventListener("click",d),c.addEventListener("keydown",e),this.__xCollapseHandlers=f);return VH(this)};b.disconnectedCallback=function(){return ZH(this)};b.attributeChangedCallback=function(c){a:{if($APP.n($APP.l(this,"__xCollapseRefs"))&&(VH(this),$APP.D.h(c,"open"))){c=$APP.l(this,"__xCollapseRefs");c=$APP.n(c)?$APP.l(c,"content"):null;var d=this.hasAttribute("open");
|
|
13
|
-
c=$APP.n(c)?$APP.n(d)?TH(this,c):UH(this,c):null;break a}c=null}return c};return a},eI=function(){return $APP.n(customElements.get("x-collapse"))?null:customElements.define("x-collapse",dI())};var cI=["open","disabled","header","duration-ms"];$APP.wd(["x-collapse-toggle",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,2,[$APP.si,$APP.Li,$APP.Ch,$APP.X],null)],null),"x-collapse-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.si,$APP.Li],null)],null)]);$APP.ka("
|
|
13
|
+
c=$APP.n(c)?$APP.n(d)?TH(this,c):UH(this,c):null;break a}c=null}return c};return a},eI=function(){return $APP.n(customElements.get("x-collapse"))?null:customElements.define("x-collapse",dI())};var cI=["open","disabled","header","duration-ms"];$APP.wd(["x-collapse-toggle",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,2,[$APP.si,$APP.Li,$APP.Ch,$APP.X],null)],null),"x-collapse-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.si,$APP.Li],null)],null)]);$APP.ka("baredom.exports.x_collapse.init",eI);export const init=eI;
|
|
@@ -30,4 +30,4 @@ var Yo=new $APP.K(null,"empty-text","empty-text",1554384594),Zo=new $APP.K(null,
|
|
|
30
30
|
"search-str",-821246171),Xo=new $APP.K(null,"modal-raw","modal-raw",-263722282),$o=new $APP.K(null,"close-on-escape?","close-on-escape?",-1559868909),np=new $APP.K(null,"up","up",-269712113),bp=new $APP.K(null,"modal?","modal?",2146094679),Oo=new $APP.K(null,"groups","groups",-136896102),Uo=new $APP.K(null,"close-on-escape-raw","close-on-escape-raw",-1942646255),ap=new $APP.K(null,"scrim?","scrim?",744210580),Vo=new $APP.K(null,"no-scrim-raw","no-scrim-raw",-1344365743),To=new $APP.K(null,"disabled-raw",
|
|
31
31
|
"disabled-raw",498098381),Ap=new $APP.K(null,"item","item",249373802);var vp="open modal dismissible disabled no-scrim close-on-scrim close-on-escape label placeholder empty-text portal".split(" ");
|
|
32
32
|
$APP.wd(["x-command-palette-open-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,$APP.xd],null),"x-command-palette-open",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,$APP.xd],null),"x-command-palette-close-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,$APP.xd],null),"x-command-palette-close",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,$APP.xd],null),"x-command-palette-select-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,1,[Ap,zp],null)],null),"x-command-palette-select",new $APP.P(null,2,[$APP.wi,!1,
|
|
33
|
-
$APP.Y,new $APP.P(null,1,[Ap,zp],null)],null),"x-command-palette-query-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[new $APP.K(null,"query","query",-1288509510),$APP.X],null)],null)]);$APP.ka("
|
|
33
|
+
$APP.Y,new $APP.P(null,1,[Ap,zp],null)],null),"x-command-palette-query-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[new $APP.K(null,"query","query",-1288509510),$APP.X],null)],null)]);$APP.ka("baredom.exports.x_command_palette.init",xp);export const init=xp;
|
package/dist/x-container.js
CHANGED
|
@@ -4,4 +4,4 @@ this.removeAttribute("center"):this.setAttribute("center","false")}})},Uv=functi
|
|
|
4
4
|
"lg"),$APP.Ni,Kv(d,Tv,"md"),Pv,$APP.J(e),Qv,$APP.J(f),$APP.W,typeof h==="string"&&$APP.N(h,"")?h:null],null);f=Ov.g(a);c=b.base;$APP.N(c.tagName.toLowerCase(),f)&&(d=b.root,e=b.slot,f=document.createElement(f),f.setAttribute("part","base"),f.appendChild(e),d.replaceChild(f,c),b.base=f);b=b.base;b.setAttribute("data-size",$APP.Ag.g(a));b.setAttribute("data-padding",$APP.Ni.g(a));b.setAttribute("data-center",$APP.n(Pv.g(a))?"true":"false");b.setAttribute("data-fluid",$APP.n(Qv.g(a))?"true":"false");
|
|
5
5
|
a=$APP.W.g(a);return $APP.n(a)?b.setAttribute("aria-label",a):b.removeAttribute("aria-label")},Vv=function(){function a(){return Reflect.construct(HTMLElement,[],$APP.Ra(b))}var b=new $APP.Dd;$APP.Ed(b,a);return a},Xv=function(){if($APP.n(customElements.get("x-container")))return null;var a=Object.create(HTMLElement.prototype),b=Vv();Object.setPrototypeOf(b,HTMLElement);a.constructor=b;Nv(a);Mv(a);a.connectedCallback=function(){if(!$APP.n(Lv(this))){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),
|
|
6
6
|
e=document.createElement("div"),f=document.createElement("slot");d.textContent="\n :host{\n display:block;\n color-scheme:light dark;\n\n --x-container-max-width-xs:480px;\n --x-container-max-width-sm:640px;\n --x-container-max-width-md:768px;\n --x-container-max-width-lg:1024px;\n --x-container-max-width-xl:1280px;\n\n --x-container-padding-sm:0.5rem;\n --x-container-padding-md:1rem;\n --x-container-padding-lg:1.5rem;\n\n --x-container-padding-block:0;\n --x-container-margin-inline:auto;\n\n --x-container-bg:transparent;\n --x-container-color:#0f172a;\n --x-container-border:transparent;\n --x-container-radius:0;\n --x-container-shadow:none;\n }\n\n @media (prefers-color-scheme: dark){\n :host{\n --x-container-bg:transparent;\n --x-container-color:#e5e7eb;\n --x-container-border:transparent;\n --x-container-radius:0;\n --x-container-shadow:none;\n }\n }\n\n [part\x3d'base']{\n display:block;\n box-sizing:border-box;\n width:100%;\n max-width:var(--x-container-max-width-lg);\n padding-inline:var(--x-container-padding-md);\n padding-block:var(--x-container-padding-block);\n margin-inline:0;\n background:var(--x-container-bg);\n color:var(--x-container-color);\n border:1px solid var(--x-container-border);\n border-radius:var(--x-container-radius);\n box-shadow:var(--x-container-shadow);\n }\n\n [part\x3d'base'][data-size\x3d'xs']{max-width:var(--x-container-max-width-xs);}\n [part\x3d'base'][data-size\x3d'sm']{max-width:var(--x-container-max-width-sm);}\n [part\x3d'base'][data-size\x3d'md']{max-width:var(--x-container-max-width-md);}\n [part\x3d'base'][data-size\x3d'lg']{max-width:var(--x-container-max-width-lg);}\n [part\x3d'base'][data-size\x3d'xl']{max-width:var(--x-container-max-width-xl);}\n [part\x3d'base'][data-size\x3d'full']{max-width:none;width:100%;}\n\n [part\x3d'base'][data-padding\x3d'none']{padding-inline:0;}\n [part\x3d'base'][data-padding\x3d'sm']{padding-inline:var(--x-container-padding-sm);}\n [part\x3d'base'][data-padding\x3d'md']{padding-inline:var(--x-container-padding-md);}\n [part\x3d'base'][data-padding\x3d'lg']{padding-inline:var(--x-container-padding-lg);}\n\n [part\x3d'base'][data-center\x3d'true']{\n margin-inline:var(--x-container-margin-inline);\n }\n\n [part\x3d'base'][data-center\x3d'false']{\n margin-inline:0;\n }\n\n [part\x3d'base'][data-fluid\x3d'true']{\n max-width:none;\n width:100%;\n }\n\n ";
|
|
7
|
-
e.setAttribute("part","base");e.appendChild(f);c.appendChild(d);c.appendChild(e);this.__xContainerState={root:c,base:e,slot:f}}return Uv(this,Lv(this))};a.attributeChangedCallback=function(){var c=Lv(this);return $APP.n(c)?Uv(this,c):null};b.observedAttributes=Wv;b.prototype=a;return customElements.define("x-container",b)},Yv=function(){return Xv()},Ov=new $APP.K(null,"as","as",1148689641),Pv=new $APP.K(null,"center","center",-748944368),Qv=new $APP.K(null,"fluid","fluid",-1823657759);var Rv=new $APP.R(null,new $APP.P(null,8,["article",null,"footer",null,"section",null,"main",null,"nav",null,"div",null,"aside",null,"header",null],null),null),Sv=new $APP.R(null,new $APP.P(null,6,["xs",null,"md",null,"lg",null,"full",null,"xl",null,"sm",null],null),null),Tv=new $APP.R(null,new $APP.P(null,4,["none",null,"md",null,"lg",null,"sm",null],null),null),Wv="as size padding center fluid label".split(" ");$APP.ka("
|
|
7
|
+
e.setAttribute("part","base");e.appendChild(f);c.appendChild(d);c.appendChild(e);this.__xContainerState={root:c,base:e,slot:f}}return Uv(this,Lv(this))};a.attributeChangedCallback=function(){var c=Lv(this);return $APP.n(c)?Uv(this,c):null};b.observedAttributes=Wv;b.prototype=a;return customElements.define("x-container",b)},Yv=function(){return Xv()},Ov=new $APP.K(null,"as","as",1148689641),Pv=new $APP.K(null,"center","center",-748944368),Qv=new $APP.K(null,"fluid","fluid",-1823657759);var Rv=new $APP.R(null,new $APP.P(null,8,["article",null,"footer",null,"section",null,"main",null,"nav",null,"div",null,"aside",null,"header",null],null),null),Sv=new $APP.R(null,new $APP.P(null,6,["xs",null,"md",null,"lg",null,"full",null,"xl",null,"sm",null],null),null),Tv=new $APP.R(null,new $APP.P(null,4,["none",null,"md",null,"lg",null,"sm",null],null),null),Wv="as size padding center fluid label".split(" ");$APP.ka("baredom.exports.x_container.init",Yv);export const init=Yv;
|
package/dist/x-context-menu.js
CHANGED
|
@@ -17,4 +17,4 @@ return qH(a,"x-context-menu-open",!1,{reason:"programmatic"})}return null},CH=fu
|
|
|
17
17
|
EH=function(a){a.openAt=function(b,c){return AH(this,b,c,"programmatic")};a.toggleAt=function(b,c){return $APP.n(this.hasAttribute("open"))?xH(this,"toggle"):AH(this,b,c,"toggle")};a.openForElement=function(b){return BH(this,b)};a.close=function(){return xH(this,"programmatic")}},FH=function(){function a(){return Reflect.construct(HTMLElement,[],$APP.Ra(b))}var b=new $APP.Dd;$APP.Ed(b,a);return a},HH=function(){if($APP.n(customElements.get("x-context-menu")))return null;var a=Object.create(HTMLElement.prototype),
|
|
18
18
|
b=FH();Object.setPrototypeOf(b,HTMLElement);a.constructor=b;CH(a,"open","open");CH(a,"disabled","disabled");DH(a);EH(a);a.connectedCallback=function(){if(!$APP.n($APP.l(this,"__xContextMenuRefs"))){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("slot");d.textContent=":host{display:contents;}slot{display:none;}";c.appendChild(d);c.appendChild(e);d={};d.root=c;d.slot=e;this.__xContextMenuRefs=d}return $APP.n(this.hasAttribute("open"))?this.removeAttribute("open"):
|
|
19
19
|
null};a.disconnectedCallback=function(){var c=$APP.l(this,"__xContextMenuLayer");$APP.n(c)?(zH(c),this.__xContextMenuLayer=null,c=void 0):c=null;return c};a.attributeChangedCallback=function(c){a:{if($APP.D.h(c,"open")){if($APP.n(this.hasAttribute("open"))){c=null;break a}c=$APP.l(this,"__xContextMenuLayer");if($APP.n(c)){zH(c);this.__xContextMenuLayer=null;c=void 0;break a}}c=null}return c};b.observedAttributes=GH;b.prototype=a;return customElements.define("x-context-menu",b)},IH=function(){return HH()},
|
|
20
|
-
iH=new $APP.K(null,"max-height","max-height",-612563804),nH=new $APP.K(null,"offset","offset",296498311),gH=new $APP.K(null,"final-placement","final-placement",-1586044424),hH=new $APP.K(null,"fits","fits",2008565808),oH=new $APP.K(null,"z-index","z-index",1892827090),lH=new $APP.K(null,"z-index-raw","z-index-raw",-1179679257),kH=new $APP.K(null,"offset-raw","offset-raw",-1418404095);var GH=["open","disabled","placement","offset","z-index"],mH=new $APP.R(null,new $APP.P(null,6,["right-start",null,"bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null,"left-start",null],null),null);$APP.ka("
|
|
20
|
+
iH=new $APP.K(null,"max-height","max-height",-612563804),nH=new $APP.K(null,"offset","offset",296498311),gH=new $APP.K(null,"final-placement","final-placement",-1586044424),hH=new $APP.K(null,"fits","fits",2008565808),oH=new $APP.K(null,"z-index","z-index",1892827090),lH=new $APP.K(null,"z-index-raw","z-index-raw",-1179679257),kH=new $APP.K(null,"offset-raw","offset-raw",-1418404095);var GH=["open","disabled","placement","offset","z-index"],mH=new $APP.R(null,new $APP.P(null,6,["right-start",null,"bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null,"left-start",null],null),null);$APP.ka("baredom.exports.x_context_menu.init",IH);export const init=IH;
|
package/dist/x-copy.js
CHANGED
|
@@ -23,4 +23,4 @@ Tr=new $APP.K(null,"mode-raw","mode-raw",-112711707),as=new $APP.K(null,"tooltip
|
|
|
23
23
|
"error-message",1756021561),Xr=new $APP.K(null,"show-tooltip-raw","show-tooltip-raw",453600717);var ss="text from from-attr mode disabled show-tooltip tooltip-ms success-message error-message hotkey".split(" ");
|
|
24
24
|
$APP.bf([new $APP.K(null,"errorMessage","errorMessage",982744869),$APP.yi,new $APP.K(null,"textValue","textValue",-598870870),$APP.fi,vs,new $APP.K(null,"tooltipMs","tooltipMs",1056463375),$r,$APP.Mg,new $APP.K(null,"showTooltip","showTooltip",482349691),new $APP.K(null,"successMessage","successMessage",-789572803),$APP.Mh],[new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"error-message"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"disabled"],null),new $APP.P(null,3,[$APP.Z,$APP.X,$APP.Qg,null,new $APP.K(null,
|
|
25
25
|
"note","note",1426297904),"property-only override"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"mode"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"from-attr"],null),new $APP.P(null,2,[$APP.Z,$APP.Gh,$APP.Qg,"tooltip-ms"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"hotkey"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"from"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"show-tooltip"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"success-message"],null),new $APP.P(null,2,[$APP.Z,
|
|
26
|
-
$APP.X,$APP.Qg,"text"],null)]);$APP.wd(["x-copy-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,4,[$APP.Mh,$APP.X,$APP.fi,$APP.X,$APP.Mg,$APP.X,vs,$APP.X],null)],null),"x-copy-success",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.Mh,$APP.X],null)],null),"x-copy-error",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.qh,$APP.X],null)],null)]);$APP.ka("
|
|
26
|
+
$APP.X,$APP.Qg,"text"],null)]);$APP.wd(["x-copy-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,4,[$APP.Mh,$APP.X,$APP.fi,$APP.X,$APP.Mg,$APP.X,vs,$APP.X],null)],null),"x-copy-success",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.Mh,$APP.X],null)],null),"x-copy-error",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.qh,$APP.X],null)],null)]);$APP.ka("baredom.exports.x_copy.init",us);export const init=us;
|
package/dist/x-currency-field.js
CHANGED
|
@@ -19,4 +19,4 @@ this.getAttribute("value");return $APP.n(b)?b:""},set:function(b){b=b!=null&&$AP
|
|
|
19
19
|
"observedAttributes",{get:function(){return Ax}});zx(b);xx(b,"name","name");xx(b,"currency","currency");xx(b,"locale","locale");xx(b,"min","min");xx(b,"max","max");xx(b,"placeholder","placeholder");xx(b,"label","label");xx(b,"hint","hint");xx(b,"error","error");yx(b,"disabled","disabled");yx(b,"readOnly","readonly");yx(b,"required","required");b.connectedCallback=function(){return wx(this)};b.disconnectedCallback=function(){return vx(this)};b.attributeChangedCallback=function(c,d,e){$APP.D.h(c,"value")&&
|
|
20
20
|
(c=$APP.l(this,"__xCurrencyFieldRefs"),$APP.n(c)&&(c=$APP.l(c,"input"),$APP.D.h(c,this.shadowRoot.activeElement)||(fx(this.getAttribute("currency")),d=this.getAttribute("locale"),d=$APP.n(d)?d:"",c.value=e==null||$APP.D.h(e,"")?"":ix(e,d))));return px(this)};b.formDisabledCallback=function(c){gx(this,"disabled",$APP.J(c));return px(this)};b.formResetCallback=function(){this.removeAttribute("value");var c=$APP.l(this,"__xCurrencyFieldRefs");$APP.n(c)&&($APP.l(c,"input").value="");c=$APP.l(this,"__xCurrencyFieldInternals");
|
|
21
21
|
$APP.n(c)&&c.setFormValue("");return px(this)};b.checkValidity=function(){var c=$APP.l(this,"__xCurrencyFieldInternals");return $APP.n(c)?c.checkValidity():!0};b.reportValidity=function(){var c=$APP.l(this,"__xCurrencyFieldInternals");return $APP.n(c)?c.reportValidity():!0};return a},Cx=function(){return $APP.n(customElements.get("x-currency-field"))?null:customElements.define("x-currency-field",Bx())},mx=new $APP.K(null,"min-raw","min-raw",183137548),lx=new $APP.K(null,"currency-raw","currency-raw",
|
|
22
|
-
1169887491),ox=new $APP.K(null,"currency","currency",-898327568),nx=new $APP.K(null,"locale-raw","locale-raw",385401846);var Ax="name value currency locale min max placeholder label hint error disabled required readonly".split(" ");$APP.ka("
|
|
22
|
+
1169887491),ox=new $APP.K(null,"currency","currency",-898327568),nx=new $APP.K(null,"locale-raw","locale-raw",385401846);var Ax="name value currency locale min max placeholder label hint error disabled required readonly".split(" ");$APP.ka("baredom.exports.x_currency_field.init",Cx);export const init=Cx;
|
package/dist/x-date-picker.js
CHANGED
|
@@ -34,4 +34,4 @@ r.setAttribute("data-nav","prev");r.setAttribute("type","button");r.setAttribute
|
|
|
34
34
|
function(){return PC(this)};c.attributeChangedCallback=function(){yC(this);return FC(this)};QC(c,"mode","mode");QC(c,"value","value");QC(c,"start","start");QC(c,"end","end");RC(c,"open","open");RC(c,"disabled","disabled");RC(c,"readOnly","readonly");RC(c,"required","required");SC(c);a.prototype=c;return a},VC=function(){return $APP.n(customElements.get("x-date-picker"))?null:customElements.define("x-date-picker",UC())},qC=new $APP.K(null,"start-d","start-d",-1546785820),bC=new $APP.K(null,"ok?","ok?",
|
|
35
35
|
447310304),cC=new $APP.K(null,"date","date",-1463434462),fC=new $APP.K(null,"auto-swap?","auto-swap?",-1675454411),pC=new $APP.K(null,"end-str","end-str",-558112319),$B=new $APP.K(null,"localized","localized",1722109655),BC=new $APP.K(null,"edge?","edge?",203916303),oC=new $APP.K(null,"value-str","value-str",989198845),mC=new $APP.K(null,"complete?","complete?",-892991879),lC=new $APP.K(null,"max-d","max-d",-814680979),hC=new $APP.K(null,"single","single",1551466437),rC=new $APP.K(null,"start-str",
|
|
36
36
|
"start-str",1077409677),gC=new $APP.K(null,"range","range",1639692286),iC=new $APP.K(null,"iso","iso",-1366207543),uC=new $APP.K(null,"in-month?","in-month?",-1630426251),nC=new $APP.K(null,"min-d","min-d",-1118792932),ZB=new $APP.K(null,"format","format",-1306924766),jC=new $APP.K(null,"value-d","value-d",-1768534876),AC=new $APP.K(null,"in-range?","in-range?",-291779262),MC=new $APP.K(null,"prev","prev",-1597069226),JC=new $APP.K(null,"next","next",-117701485),sC=new $APP.K(null,"end-d","end-d",
|
|
37
|
-
-1316370898),kC=new $APP.K(null,"allow-same-day?","allow-same-day?",-1971558934),eC=new $APP.K(null,"range-allow-same-day?","range-allow-same-day?",-714516856);var TC="mode value start end min max format locale separator auto-swap range-allow-same-day close-on-select placeholder disabled readonly required name autocomplete aria-label aria-describedby".split(" ");$APP.ka("
|
|
37
|
+
-1316370898),kC=new $APP.K(null,"allow-same-day?","allow-same-day?",-1971558934),eC=new $APP.K(null,"range-allow-same-day?","range-allow-same-day?",-714516856);var TC="mode value start end min max format locale separator auto-swap range-allow-same-day close-on-select placeholder disabled readonly required name autocomplete aria-label aria-describedby".split(" ");$APP.ka("baredom.exports.x_date_picker.init",VC);export const init=VC;
|
package/dist/x-divider.js
CHANGED
|
@@ -8,4 +8,4 @@ $APP.D.h($APP.l(a,"mode"),"label")&&(b=$APP.l(a,"container"),jB(b),d=document.cr
|
|
|
8
8
|
b,{get:function(){var d=this.getAttribute(b);return $APP.n(d)?d:c},set:function(d){return d!=null?this.setAttribute(b,""+$APP.S.g(d)):this.removeAttribute(b)},enumerable:!0,configurable:!0})},yB=function(a){xB(a,"orientation","horizontal");xB(a,"variant","solid");xB(a,"align","center");wB(a,"label");wB(a,"thickness");wB(a,"color");wB(a,"inset");wB(a,"length")},zB=function(){function a(){return Reflect.construct(HTMLElement,[],$APP.Ra(b))}var b=new $APP.Dd;$APP.Ed(b,a);return a},BB=function(){if($APP.n(customElements.get("x-divider")))return null;
|
|
9
9
|
var a=Object.create(HTMLElement.prototype),b=zB();Object.setPrototypeOf(b,HTMLElement);a.constructor=b;yB(a);a.connectedCallback=function(){if(!$APP.n($APP.l(this,"__xDividerRefs"))){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("div");d.textContent=":host{display:block;color-scheme:light dark;--x-divider-color:rgba(0,0,0,0.12);--x-divider-thickness:1px;--x-divider-inset:0px;--x-divider-length:auto;}@media (prefers-color-scheme:dark){:host{--x-divider-color:rgba(255,255,255,0.15);}}[part\x3dcontainer]{display:flex;align-items:center;width:var(--x-divider-length,auto);box-sizing:border-box;}:host([data-orientation\x3d'vertical']) [part\x3dcontainer]{flex-direction:column;height:var(--x-divider-length,auto);width:auto;}[part\x3dline],[part\x3dline-left],[part\x3dline-right]{flex:1;border:none;background:var(--x-divider-color,rgba(0,0,0,0.12));height:var(--x-divider-thickness,1px);margin:var(--x-divider-inset,0px) 0;}:host([data-orientation\x3d'vertical']) [part\x3dline],:host([data-orientation\x3d'vertical']) [part\x3dline-left],:host([data-orientation\x3d'vertical']) [part\x3dline-right]{width:var(--x-divider-thickness,1px);height:auto;margin:0 var(--x-divider-inset,0px);}:host([data-variant\x3d'dashed']) [part\x3dline],:host([data-variant\x3d'dashed']) [part\x3dline-left],:host([data-variant\x3d'dashed']) [part\x3dline-right]{background:none;height:0;border-top:var(--x-divider-thickness,1px) dashed var(--x-divider-color,rgba(0,0,0,0.12));}:host([data-orientation\x3d'vertical'][data-variant\x3d'dashed']) [part\x3dline],:host([data-orientation\x3d'vertical'][data-variant\x3d'dashed']) [part\x3dline-left],:host([data-orientation\x3d'vertical'][data-variant\x3d'dashed']) [part\x3dline-right]{border-top:none;border-left:var(--x-divider-thickness,1px) dashed var(--x-divider-color,rgba(0,0,0,0.12));width:0;height:auto;}:host([data-variant\x3d'dotted']) [part\x3dline],:host([data-variant\x3d'dotted']) [part\x3dline-left],:host([data-variant\x3d'dotted']) [part\x3dline-right]{background:none;height:0;border-top:var(--x-divider-thickness,1px) dotted var(--x-divider-color,rgba(0,0,0,0.12));}:host([data-orientation\x3d'vertical'][data-variant\x3d'dotted']) [part\x3dline],:host([data-orientation\x3d'vertical'][data-variant\x3d'dotted']) [part\x3dline-left],:host([data-orientation\x3d'vertical'][data-variant\x3d'dotted']) [part\x3dline-right]{border-top:none;border-left:var(--x-divider-thickness,1px) dotted var(--x-divider-color,rgba(0,0,0,0.12));width:0;height:auto;}[part\x3dlabel]{display:flex;align-items:center;flex-shrink:0;padding:0 0.75em;font-size:0.75rem;font-weight:500;color:var(--x-divider-color);white-space:nowrap;}:host([data-orientation\x3d'vertical']) [part\x3dlabel]{padding:0.75em 0;writing-mode:horizontal-tb;}[part\x3dlabel-text]{display:inline;}:host([data-align\x3d'start']) [part\x3dline-left]{flex:0 0 1rem;}:host([data-align\x3d'end']) [part\x3dline-right]{flex:0 0 1rem;}@media (prefers-reduced-motion:reduce){*{transition:none !important;animation:none !important;}}";
|
|
10
10
|
e.setAttribute("part","container");var f=document.createElement("div");f.setAttribute("part","line");e.appendChild(f);c.appendChild(d);c.appendChild(e);this.__xDividerRefs={root:c,container:e,mode:"no-label"}}return vB(this)};a.disconnectedCallback=function(){return null};a.attributeChangedCallback=function(c,d,e){return $APP.N(d,e)?$APP.n($APP.l(this,"__xDividerRefs"))?vB(this):null:null};b.observedAttributes=AB;b.prototype=a;return customElements.define("x-divider",b)},CB=function(){return BB()},
|
|
11
|
-
kB=new $APP.K(null,"length-raw","length-raw",-1832244116),nB=new $APP.K(null,"inset-raw","inset-raw",89351124),qB=new $APP.K(null,"inset","inset",-396367740),pB=new $APP.K(null,"thickness","thickness",-940175454),lB=new $APP.K(null,"thickness-raw","thickness-raw",1843812655),oB=new $APP.K(null,"role-raw","role-raw",777951354),rB=new $APP.K(null,"length","length",588987862),mB=new $APP.K(null,"color-raw","color-raw",1277647215);var AB="orientation variant thickness color inset length label align role aria-label".split(" "),uB=new $APP.R(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null),tB=new $APP.R(null,new $APP.P(null,3,["dashed",null,"dotted",null,"solid",null],null),null),sB=new $APP.R(null,new $APP.P(null,3,["center",null,"start",null,"end",null],null),null);$APP.ka("
|
|
11
|
+
kB=new $APP.K(null,"length-raw","length-raw",-1832244116),nB=new $APP.K(null,"inset-raw","inset-raw",89351124),qB=new $APP.K(null,"inset","inset",-396367740),pB=new $APP.K(null,"thickness","thickness",-940175454),lB=new $APP.K(null,"thickness-raw","thickness-raw",1843812655),oB=new $APP.K(null,"role-raw","role-raw",777951354),rB=new $APP.K(null,"length","length",588987862),mB=new $APP.K(null,"color-raw","color-raw",1277647215);var AB="orientation variant thickness color inset length label align role aria-label".split(" "),uB=new $APP.R(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null),tB=new $APP.R(null,new $APP.P(null,3,["dashed",null,"dotted",null,"solid",null],null),null),sB=new $APP.R(null,new $APP.P(null,3,["center",null,"start",null,"end",null],null),null);$APP.ka("baredom.exports.x_divider.init",CB);export const init=CB;
|
package/dist/x-drawer.js
CHANGED
|
@@ -10,4 +10,4 @@ h=$APP.ic(h);var q=f.shiftKey;$APP.n($APP.n(q)?$APP.D.h(k,m):q)?(f.preventDefaul
|
|
|
10
10
|
c=$APP.l(c,"panel");var e=$APP.l(b,"backdrop");b=$APP.l(b,"keydown");$APP.n(e)&&d.removeEventListener("click",e);$APP.n(b)&&c.removeEventListener("keydown",b)}a.__xDrawerHandlers=null},iu=function(a){Object.defineProperty(a,"open",{get:function(){return this.hasAttribute("open")},set:function(b){return $APP.n(b)?du(this):eu(this)},enumerable:!0,configurable:!0});Object.defineProperty(a,"placement",{get:function(){var b=this.getAttribute("placement");return $APP.n(b)?b:"right"},set:function(b){return b==
|
|
11
11
|
null?this.removeAttribute("placement"):this.setAttribute("placement",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"label",{get:function(){var b=this.getAttribute("label");return $APP.n(b)?b:"Drawer"},set:function(b){return b==null?this.removeAttribute("label"):this.setAttribute("label",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"show",{value:function(){return du(this)},enumerable:!0,configurable:!0,writable:!0});Object.defineProperty(a,"hide",
|
|
12
12
|
{value:function(){return eu(this)},enumerable:!0,configurable:!0,writable:!0});Object.defineProperty(a,"toggle",{value:function(){$APP.n(this.hasAttribute("open"))?eu(this):du(this);return null},enumerable:!0,configurable:!0,writable:!0})},ku=function(){if(!$APP.n(customElements.get("x-drawer"))){var a=class extends HTMLElement{};a.observedAttributes=ju;a.prototype.connectedCallback=function(){Xt(this);hu(this);gu(this);fu(this);return null};a.prototype.disconnectedCallback=function(){hu(this);bu(this);
|
|
13
|
-
return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&fu(this);return null};iu(a.prototype);customElements.define("x-drawer",a)}return null},lu=function(){return ku()};var Yt=new $APP.R(null,new $APP.P(null,4,["right",null,"top",null,"bottom",null,"left",null],null),null),ju=["open","placement","label"];$APP.wd(["x-drawer-toggle",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.si,$APP.Li],null)],null),"x-drawer-dismiss",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.xh,$APP.X],null)],null)]);$APP.ka("
|
|
13
|
+
return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&fu(this);return null};iu(a.prototype);customElements.define("x-drawer",a)}return null},lu=function(){return ku()};var Yt=new $APP.R(null,new $APP.P(null,4,["right",null,"top",null,"bottom",null,"left",null],null),null),ju=["open","placement","label"];$APP.wd(["x-drawer-toggle",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.si,$APP.Li],null)],null),"x-drawer-dismiss",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.xh,$APP.X],null)],null)]);$APP.ka("baredom.exports.x_drawer.init",lu);export const init=lu;
|
package/dist/x-dropdown.js
CHANGED
|
@@ -9,4 +9,4 @@ null:Ol(this,"programmatic")};b.hide=function(){return $APP.n(this.hasAttribute(
|
|
|
9
9
|
d.textContent=":host{display:inline-block;position:relative;color-scheme:light dark;--x-dropdown-trigger-bg:#f8fafc;--x-dropdown-trigger-bg-hover:#f1f5f9;--x-dropdown-trigger-bg-active:#e2e8f0;--x-dropdown-trigger-color:#0f172a;--x-dropdown-trigger-border:1px solid #e2e8f0;--x-dropdown-trigger-radius:6px;--x-dropdown-trigger-padding:0 0.75rem;--x-dropdown-trigger-height:2.25rem;--x-dropdown-trigger-font-size:0.9375rem;--x-dropdown-trigger-font-weight:500;--x-dropdown-chevron-color:#64748b;--x-dropdown-focus-ring:#60a5fa;--x-dropdown-panel-bg:#ffffff;--x-dropdown-panel-border:1px solid #e2e8f0;--x-dropdown-panel-radius:8px;--x-dropdown-panel-shadow:0 4px 16px rgba(0,0,0,0.12);--x-dropdown-panel-padding:0.25rem;--x-dropdown-panel-min-width:10rem;--x-dropdown-panel-max-height:20rem;--x-dropdown-panel-offset:4px;--x-dropdown-transition-duration:150ms;--x-dropdown-transition-easing:ease;}@media (prefers-color-scheme:dark){:host{--x-dropdown-trigger-bg:#1e293b;--x-dropdown-trigger-bg-hover:#334155;--x-dropdown-trigger-bg-active:#475569;--x-dropdown-trigger-color:#e2e8f0;--x-dropdown-trigger-border:1px solid #334155;--x-dropdown-chevron-color:#94a3b8;--x-dropdown-focus-ring:#93c5fd;--x-dropdown-panel-bg:#1e293b;--x-dropdown-panel-border:1px solid #334155;--x-dropdown-panel-shadow:0 4px 24px rgba(0,0,0,0.4);}}[part\x3dtrigger]{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:0.375rem;height:var(--x-dropdown-trigger-height);padding:var(--x-dropdown-trigger-padding);background:var(--x-dropdown-trigger-bg);color:var(--x-dropdown-trigger-color);border:var(--x-dropdown-trigger-border);border-radius:var(--x-dropdown-trigger-radius);font-size:var(--x-dropdown-trigger-font-size);font-weight:var(--x-dropdown-trigger-font-weight);font-family:inherit;cursor:pointer;user-select:none;white-space:nowrap;}[part\x3dtrigger]:hover:not(:disabled){background:var(--x-dropdown-trigger-bg-hover);}[part\x3dtrigger]:active:not(:disabled){background:var(--x-dropdown-trigger-bg-active);}[part\x3dtrigger]:disabled{cursor:default;opacity:0.55;}[part\x3dtrigger]:focus-visible{outline:none;box-shadow:0 0 0 2px var(--x-dropdown-focus-ring);}[part\x3dtrigger-label]{flex:1;}[part\x3dchevron]{display:inline-block;color:var(--x-dropdown-chevron-color);font-style:normal;flex-shrink:0;transition:transform 200ms ease;}:host([open]) [part\x3dchevron]{transform:rotate(180deg);}[part\x3dpanel]{position:absolute;z-index:1000;box-sizing:border-box;background:var(--x-dropdown-panel-bg);border:var(--x-dropdown-panel-border);border-radius:var(--x-dropdown-panel-radius);box-shadow:var(--x-dropdown-panel-shadow);padding:var(--x-dropdown-panel-padding);min-width:var(--x-dropdown-panel-min-width);max-height:var(--x-dropdown-panel-max-height);overflow-y:auto;visibility:hidden;pointer-events:none;opacity:0;transform:scaleY(0.95);transition:opacity var(--x-dropdown-transition-duration) var(--x-dropdown-transition-easing),transform var(--x-dropdown-transition-duration) var(--x-dropdown-transition-easing),visibility 0s var(--x-dropdown-transition-duration);}:host([open]) [part\x3dpanel]{visibility:visible;pointer-events:auto;opacity:1;transform:scaleY(1);transition:opacity var(--x-dropdown-transition-duration) var(--x-dropdown-transition-easing),transform var(--x-dropdown-transition-duration) var(--x-dropdown-transition-easing),visibility 0s 0s;}[part\x3dpanel][data-placement\x3dbottom-start]{top:calc(100% + var(--x-dropdown-panel-offset));left:0;transform-origin:top left;}[part\x3dpanel][data-placement\x3dbottom-end]{top:calc(100% + var(--x-dropdown-panel-offset));right:0;transform-origin:top right;}[part\x3dpanel][data-placement\x3dtop-start]{bottom:calc(100% + var(--x-dropdown-panel-offset));left:0;transform-origin:bottom left;}[part\x3dpanel][data-placement\x3dtop-end]{bottom:calc(100% + var(--x-dropdown-panel-offset));right:0;transform-origin:bottom right;}[part\x3dpanel-inner]{display:contents;}@media (prefers-reduced-motion:reduce){[part\x3dpanel]{transition:none !important;}[part\x3dchevron]{transition:none !important;}}";
|
|
10
10
|
e.setAttribute("part","trigger");e.setAttribute("type","button");e.setAttribute("aria-haspopup","true");e.setAttribute("aria-expanded","false");e.setAttribute("aria-controls","panel");f.setAttribute("part","trigger-label");h.setAttribute("part","chevron");h.setAttribute("aria-hidden","true");h.textContent="▾";k.setAttribute("part","panel");k.setAttribute("id","panel");k.setAttribute("data-placement","bottom-start");m.setAttribute("part","panel-inner");e.appendChild(f);e.appendChild(h);m.appendChild(q);
|
|
11
11
|
k.appendChild(m);c.appendChild(d);c.appendChild(e);c.appendChild(k);this.__xDropdownRefs={trigger:e,label:f,chevron:h,panel:k}}Sl(this);Ql(this);this.__xDropdownHandlers=Rl(this);d=$APP.l(this,"__xDropdownRefs");$APP.n(d)&&(c=$APP.l(this,"__xDropdownHandlers"),$APP.n(c)&&(d=$APP.l(d,"trigger"),d.addEventListener("click",$APP.l(c,"triggerClick")),d.addEventListener("keydown",$APP.l(c,"triggerKeydown")),this.addEventListener("focusout",$APP.l(c,"hostFocusout"))));$APP.n(this.hasAttribute("open"))&&
|
|
12
|
-
Pl(this);return Nl(this)};b.disconnectedCallback=function(){Sl(this);return Ql(this)};b.attributeChangedCallback=function(c){$APP.n($APP.l(this,"__xDropdownRefs"))?(Nl(this),c=$APP.D.h(c,"open")?$APP.n(this.hasAttribute("open"))?Pl(this):Ql(this):null):c=null;return c};return a},Xl=function(){return $APP.n(customElements.get("x-dropdown"))?null:customElements.define("x-dropdown",Wl())};var Ml=new $APP.R(null,new $APP.P(null,4,["bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null],null),null),Vl=["open","disabled","label","placement"];$APP.wd(["x-dropdown-toggle",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,2,[$APP.si,$APP.Li,$APP.Ch,$APP.X],null)],null),"x-dropdown-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.si,$APP.Li],null)],null)]);$APP.ka("
|
|
12
|
+
Pl(this);return Nl(this)};b.disconnectedCallback=function(){Sl(this);return Ql(this)};b.attributeChangedCallback=function(c){$APP.n($APP.l(this,"__xDropdownRefs"))?(Nl(this),c=$APP.D.h(c,"open")?$APP.n(this.hasAttribute("open"))?Pl(this):Ql(this):null):c=null;return c};return a},Xl=function(){return $APP.n(customElements.get("x-dropdown"))?null:customElements.define("x-dropdown",Wl())};var Ml=new $APP.R(null,new $APP.P(null,4,["bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null],null),null),Vl=["open","disabled","label","placement"];$APP.wd(["x-dropdown-toggle",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,2,[$APP.si,$APP.Li,$APP.Ch,$APP.X],null)],null),"x-dropdown-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.si,$APP.Li],null)],null)]);$APP.ka("baredom.exports.x_dropdown.init",Xl);export const init=Xl;
|
package/dist/x-fieldset.js
CHANGED
|
@@ -4,4 +4,4 @@ new $APP.P(null,5,[Xs,f,Ys,$APP.N(f,""),$APP.U,h,$APP.bi,d,$APP.Xi,e],null);f=Xs
|
|
|
4
4
|
return Vs(a,"data-disabled",d)}return null},$s=function(a){Object.defineProperty(a,"disabled",{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute("disabled")},set:function(b){return Vs(this,"disabled",$APP.J(b))}})},at=function(a){Object.defineProperty(a,"legend",{configurable:!0,enumerable:!0,get:function(){var b=this.getAttribute("legend");return $APP.n(b)?b:null},set:function(b){b!=null&&$APP.N(b)?(b=""+$APP.S.g(b),b=this.setAttribute("legend",b)):b=this.removeAttribute("legend");
|
|
5
5
|
return b}})},ct=function(){var a=class extends HTMLElement{},b=a.prototype;Object.defineProperty(a,"observedAttributes",{get:function(){return bt}});at(b);$s(b);b.connectedCallback=function(){if(!$APP.n($APP.l(this,"__xFieldsetRefs"))){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("div"),f=document.createElement("div"),h=document.createElement("div"),k=document.createElement("slot");d.textContent=":host{display:block;color-scheme:light dark;--x-fieldset-border-color:#d1d5db;--x-fieldset-border-width:1px;--x-fieldset-border-radius:8px;--x-fieldset-padding:1rem;--x-fieldset-gap:0.75rem;--x-fieldset-bg:transparent;--x-fieldset-legend-color:#374151;--x-fieldset-legend-font-size:0.875rem;--x-fieldset-legend-font-weight:600;--x-fieldset-legend-padding:0 0.375rem;--x-fieldset-disabled-opacity:0.45;}@media (prefers-color-scheme:dark){:host{--x-fieldset-border-color:#374151;--x-fieldset-legend-color:#d1d5db;}}[part\x3droot]{display:block;border:var(--x-fieldset-border-width) solid var(--x-fieldset-border-color);border-radius:var(--x-fieldset-border-radius);padding:var(--x-fieldset-padding);background:var(--x-fieldset-bg);position:relative;}:host([data-disabled]) [part\x3droot]{opacity:var(--x-fieldset-disabled-opacity);}[part\x3dlegend]{display:block;position:absolute;top:calc(-0.5em);left:calc(var(--x-fieldset-border-radius) - 0.375rem);padding:var(--x-fieldset-legend-padding);color:var(--x-fieldset-legend-color);font-size:var(--x-fieldset-legend-font-size);font-weight:var(--x-fieldset-legend-font-weight);background:inherit;line-height:1;white-space:nowrap;}[part\x3dlegend][hidden]{display:none;}[part\x3dcontent]{display:flex;flex-direction:column;gap:var(--x-fieldset-gap);}@media (prefers-reduced-motion:reduce){}";
|
|
6
6
|
e.setAttribute("part","root");e.setAttribute("role","group");f.setAttribute("part","legend");f.setAttribute("id","x-fieldset-legend");h.setAttribute("part","content");h.appendChild(k);e.appendChild(f);e.appendChild(h);c.appendChild(d);c.appendChild(e);this.__xFieldsetRefs={root:c,"root-el":e,"legend-el":f,"content-el":h}}return Zs(this)};b.disconnectedCallback=function(){return null};b.attributeChangedCallback=function(){return Zs(this)};return a},dt=function(){return $APP.n(customElements.get("x-fieldset"))?
|
|
7
|
-
null:customElements.define("x-fieldset",ct())},Xs=new $APP.K(null,"legend","legend",-1027192245),Ys=new $APP.K(null,"legend-visible?","legend-visible?",-281107501),Ws=new $APP.K(null,"legend-raw","legend-raw",907427195);var bt=["legend","disabled","aria-label","aria-describedby"];$APP.ka("
|
|
7
|
+
null:customElements.define("x-fieldset",ct())},Xs=new $APP.K(null,"legend","legend",-1027192245),Ys=new $APP.K(null,"legend-visible?","legend-visible?",-281107501),Ws=new $APP.K(null,"legend-raw","legend-raw",907427195);var bt=["legend","disabled","aria-label","aria-describedby"];$APP.ka("baredom.exports.x_fieldset.init",dt);export const init=dt;
|
package/dist/x-file-download.js
CHANGED
|
@@ -6,4 +6,4 @@ enumerable:!0,get:function(){var d=this.getAttribute(c);return $APP.n(d)?d:""},s
|
|
|
6
6
|
Yp(b,"href","href");Yp(b,"filename","filename");Zp(b);b.connectedCallback=function(){if(!$APP.n($APP.l(this,"__xFileDownloadRefs"))){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("a"),f=document.createElement("span"),h=document.createElement("span"),k=document.createElement("slot");d.textContent=":host{display:inline-block;color-scheme:light dark;--x-file-download-bg:#2563eb;--x-file-download-color:#ffffff;--x-file-download-hover-bg:#1d4ed8;--x-file-download-active-bg:#1e40af;--x-file-download-border-radius:6px;--x-file-download-padding:0.5rem 1rem;--x-file-download-font-size:0.875rem;--x-file-download-font-weight:500;--x-file-download-gap:0.375rem;--x-file-download-icon-size:1em;--x-file-download-focus-ring:#60a5fa;--x-file-download-disabled-opacity:0.45;--x-file-download-transition:background 120ms ease;}@media (prefers-color-scheme:dark){:host{--x-file-download-bg:#3b82f6;--x-file-download-hover-bg:#2563eb;--x-file-download-active-bg:#1d4ed8;--x-file-download-focus-ring:#93c5fd;}}[part\x3danchor]{display:inline-flex;align-items:center;gap:var(--x-file-download-gap);padding:var(--x-file-download-padding);background:var(--x-file-download-bg);color:var(--x-file-download-color);border-radius:var(--x-file-download-border-radius);font-size:var(--x-file-download-font-size);font-weight:var(--x-file-download-font-weight);text-decoration:none;cursor:pointer;box-sizing:border-box;transition:var(--x-file-download-transition);outline:none;user-select:none;-webkit-user-select:none;}[part\x3danchor]:hover{background:var(--x-file-download-hover-bg);}[part\x3danchor]:active{background:var(--x-file-download-active-bg);}[part\x3danchor]:focus-visible{outline:2px solid var(--x-file-download-focus-ring);outline-offset:2px;}[part\x3dicon]{display:inline-flex;align-items:center;justify-content:center;width:var(--x-file-download-icon-size);height:var(--x-file-download-icon-size);flex-shrink:0;}[part\x3dcontent]{display:inline;}:host([data-disabled]) [part\x3danchor]{opacity:var(--x-file-download-disabled-opacity);pointer-events:none;cursor:default;}@media (prefers-reduced-motion:reduce){[part\x3danchor]{transition:none;}}";
|
|
7
7
|
e.setAttribute("part","anchor");f.setAttribute("part","icon");h.setAttribute("part","content");f.innerHTML='\x3csvg xmlns\x3d"http://www.w3.org/2000/svg" viewBox\x3d"0 0 16 16" fill\x3d"currentColor" width\x3d"1em" height\x3d"1em" aria-hidden\x3d"true"\x3e\x3cpath d\x3d"M8 1a.75.75 0 0 1 .75.75v6.19l1.97-1.97a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.03a.75.75 0 0 1 1.06-1.06L7.25 7.94V1.75A.75.75 0 0 1 8 1ZM2.5 13.25a.75.75 0 0 1 .75-.75h9.5a.75.75 0 0 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75Z"/\x3e\x3c/svg\x3e';
|
|
8
8
|
h.appendChild(k);e.appendChild(f);e.appendChild(h);c.appendChild(d);c.appendChild(e);this.__xFileDownloadRefs={"anchor-el":e,"icon-el":f,"content-el":h}}Xp(this);c=Wp(this);$APP.l($APP.l(this,"__xFileDownloadRefs"),"anchor-el").addEventListener("click",c);this.__xFileDownloadHandlers={click:c};return Vp(this)};b.disconnectedCallback=function(){return Xp(this)};b.attributeChangedCallback=function(){return Vp(this)};return a},bq=function(){return $APP.n(customElements.get("x-file-download"))?null:customElements.define("x-file-download",
|
|
9
|
-
aq())},Sp=new $APP.K(null,"filename-raw","filename-raw",-706184256),Tp=new $APP.K(null,"filename","filename",-1428840783),Rp=new $APP.K(null,"href-raw","href-raw",-1680949453);var $p=["href","filename","disabled","aria-label"];$APP.ka("
|
|
9
|
+
aq())},Sp=new $APP.K(null,"filename-raw","filename-raw",-706184256),Tp=new $APP.K(null,"filename","filename",-1428840783),Rp=new $APP.K(null,"href-raw","href-raw",-1680949453);var $p=["href","filename","disabled","aria-label"];$APP.ka("baredom.exports.x_file_download.init",bq);export const init=bq;
|
package/dist/x-form-field.js
CHANGED
|
@@ -13,4 +13,4 @@ d.textContent=":host{display:block;color-scheme:light dark;--x-form-field-label-
|
|
|
13
13
|
e.setAttribute("part","field");f.setAttribute("part","label");f.setAttribute("id","label");f.setAttribute("for","input");h.setAttribute("part","input-wrapper");k.setAttribute("part","input");k.setAttribute("id","input");k.setAttribute("aria-labelledby","label");m.setAttribute("part","hint");m.setAttribute("id","hint");m.setAttribute("aria-live","polite");q.setAttribute("part","error");q.setAttribute("id","error");q.setAttribute("role","alert");q.setAttribute("aria-live","assertive");h.appendChild(k);
|
|
14
14
|
e.appendChild(f);e.appendChild(h);e.appendChild(m);e.appendChild(q);c.appendChild(d);c.appendChild(e);this.__xFormFieldRefs={field:e,label:f,input:k,hint:m,error:q};$APP.n(this.attachInternals)&&(this.__xFormFieldInternals=this.attachInternals())}KB(this);c=$APP.l(this,"__xFormFieldRefs");$APP.n(c)&&(c=$APP.l(c,"input"),d=this.getAttribute("value"),$APP.n(d)&&(c.value=d));c=$APP.l(this,"__xFormFieldInternals");$APP.n(c)&&(d=c.setFormValue,e=this.getAttribute("value"),d.call(c,$APP.n(e)?e:""));c=$APP.l(this,
|
|
15
15
|
"__xFormFieldRefs");$APP.n(c)&&(c=$APP.l(c,"input"),d=IB(this),e=JB(this),c.addEventListener("input",d),c.addEventListener("change",e),this.__xFormFieldHandlers={input:d,change:e});return GB(this)};b.disconnectedCallback=function(){return KB(this)};b.attributeChangedCallback=function(c,d,e){$APP.D.h(c,"value")&&(c=$APP.l(this,"__xFormFieldRefs"),$APP.n(c)&&(c=$APP.l(c,"input"),$APP.N(c.value,e)&&(c.value=$APP.n(e)?e:"")));return GB(this)};b.formDisabledCallback=function(c){DB(this,"disabled",$APP.J(c));
|
|
16
|
-
return GB(this)};b.formResetCallback=function(){this.removeAttribute("value");var c=$APP.l(this,"__xFormFieldRefs");$APP.n(c)&&($APP.l(c,"input").value="");c=$APP.l(this,"__xFormFieldInternals");$APP.n(c)&&c.setFormValue("");return GB(this)};return a},QB=function(){return $APP.n(customElements.get("x-form-field"))?null:customElements.define("x-form-field",PB())};var OB="label type name value placeholder hint error disabled readonly required autocomplete".split(" "),FB=new $APP.R(null,new $APP.P(null,6,["url",null,"tel",null,"email",null,"text",null,"number",null,"password",null],null),null);$APP.ka("
|
|
16
|
+
return GB(this)};b.formResetCallback=function(){this.removeAttribute("value");var c=$APP.l(this,"__xFormFieldRefs");$APP.n(c)&&($APP.l(c,"input").value="");c=$APP.l(this,"__xFormFieldInternals");$APP.n(c)&&c.setFormValue("");return GB(this)};return a},QB=function(){return $APP.n(customElements.get("x-form-field"))?null:customElements.define("x-form-field",PB())};var OB="label type name value placeholder hint error disabled readonly required autocomplete".split(" "),FB=new $APP.R(null,new $APP.P(null,6,["url",null,"tel",null,"email",null,"text",null,"number",null,"password",null],null),null);$APP.ka("baredom.exports.x_form_field.init",QB);export const init=QB;
|
package/dist/x-form.js
CHANGED
|
@@ -8,4 +8,4 @@ b.removeEventListener("reset",$APP.l(c,"reset"));a.removeEventListener("click",$
|
|
|
8
8
|
b:""},set:function(b){return b!=null&&$APP.N(b)?sy(this,""+$APP.S.g(b)):this.removeAttribute("autocomplete")}})},Gy=function(){var a=class extends HTMLElement{},b=a.prototype;Object.defineProperty(a,"observedAttributes",{get:function(){return Fy}});Dy(b,"loading","loading");Dy(b,"novalidate","novalidate");Ey(b);b.connectedCallback=function(){if(!$APP.n(this.shadowRoot)){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("form"),f=document.createElement("slot");
|
|
9
9
|
d.textContent=":host{display:block;}[part\x3droot]{display:flex;flex-direction:column;gap:var(--x-form-gap,1rem);width:var(--x-form-width,100%);}:host([loading]){pointer-events:none;opacity:0.6;}";e.setAttribute("part","root");e.setAttribute("novalidate","");e.appendChild(f);c.appendChild(d);c.appendChild(e);this.__xFormRefs={form:e}}Cy(this);By(this);return yy(this)};b.disconnectedCallback=function(){return Cy(this)};b.attributeChangedCallback=function(){return yy(this)};b.submit=function(){var c=
|
|
10
10
|
$APP.l(this,"__xFormRefs");return $APP.n(c)?$APP.l(c,"form").requestSubmit():null};b.reset=function(){var c=$APP.l(this,"__xFormRefs");return $APP.n(c)?$APP.l(c,"form").reset():null};b.setFieldError=function(c,d){c=this.querySelector('[name\x3d"'+$APP.S.g(c)+'"]');return $APP.n(c)?d==null||$APP.D.h(d,"")||$APP.D.h(d,void 0)?c.removeAttribute("error"):c.setAttribute("error",d):null};b.clearErrors=function(){for(var c=this.querySelectorAll("[error]"),d=c.length,e=0;;)if(e<d)c[e].removeAttribute("error"),
|
|
11
|
-
e+=1;else return null};return a},Hy=function(){return $APP.n(customElements.get("x-form"))?null:customElements.define("x-form",Gy())},ty=new $APP.K(null,"loading-raw","loading-raw",-1707143099),wy=new $APP.K(null,"novalidate?","novalidate?",491529885),uy=new $APP.K(null,"novalidate-raw","novalidate-raw",1783236714);var Fy=["loading","novalidate","autocomplete"],vy=new $APP.R(null,new $APP.P(null,2,["off",null,"on",null],null),null);$APP.ka("
|
|
11
|
+
e+=1;else return null};return a},Hy=function(){return $APP.n(customElements.get("x-form"))?null:customElements.define("x-form",Gy())},ty=new $APP.K(null,"loading-raw","loading-raw",-1707143099),wy=new $APP.K(null,"novalidate?","novalidate?",491529885),uy=new $APP.K(null,"novalidate-raw","novalidate-raw",1783236714);var Fy=["loading","novalidate","autocomplete"],vy=new $APP.R(null,new $APP.P(null,2,["off",null,"on",null],null),null);$APP.ka("baredom.exports.x_form.init",Hy);export const init=Hy;
|
package/dist/x-grid.js
CHANGED
|
@@ -5,4 +5,4 @@ f,h,Iw(r),q,b,$APP.J(a),r,Iw(b),c])},ax=function(a){var b=$APP.bf([Qw,Rw,$APP.Tg
|
|
|
5
5
|
c.setProperty("--x-grid-row-gap",Pw.g(b));c.setProperty("--x-grid-column-gap",Tw.g(b));c.setProperty("--x-grid-align-items",Rw.g(b));c.setProperty("--x-grid-justify-items",Ow.g(b));b=c.setProperty("--x-grid-auto-flow",Qw.g(b))}else b=null;return b},bx=function(a){if($APP.l(a,"__x_grid_initialized")!==!0){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("slot");c.textContent="\n :host {\n display:block;\n }\n\n :host([inline]) {\n display:inline-block;\n }\n\n .base {\n display:grid;\n box-sizing:border-box;\n grid-template-columns:var(--x-grid-columns);\n row-gap:var(--x-grid-row-gap);\n column-gap:var(--x-grid-column-gap);\n align-items:var(--x-grid-align-items);\n justify-items:var(--x-grid-justify-items);\n grid-auto-flow:var(--x-grid-auto-flow);\n\n @media (prefers-reduced-motion: reduce) {\n .base {\n transition: none;\n }\n }\n }\n ";
|
|
6
6
|
d.setAttribute("part","base");d.className="base";d.appendChild(e);b.appendChild(c);b.appendChild(d);a.__x_grid_root=b;a.__x_grid_base=d;a.__x_grid_initialized=!0}ax(a);return a},dx=function(){var a=class extends HTMLElement{};a.observedAttributes=cx;a.prototype.connectedCallback=function(){return bx(this)};a.prototype.attributeChangedCallback=function(){return $APP.l(this,"__x_grid_initialized")===!0?ax(this):bx(this)};return a},ex=function(){return $APP.n(customElements.get("x-grid"))?null:customElements.define("x-grid",
|
|
7
7
|
dx())},Sw=new $APP.K(null,"min-column-size","min-column-size",-1066019378),Nw=new $APP.K(null,"inline","inline",1399884222),Qw=new $APP.K(null,"auto-flow","auto-flow",-1524521728),Tw=new $APP.K(null,"column-gap","column-gap",384822863),Ow=new $APP.K(null,"justify-items","justify-items",1638310783),Pw=new $APP.K(null,"row-gap","row-gap",-1809905537),Zw=new $APP.K(null,"column-gap-token","column-gap-token",-10192833),Uw=new $APP.K(null,"gap","gap",80255254),Rw=new $APP.K(null,"align-items","align-items",
|
|
8
|
-
-267946462),Yw=new $APP.K(null,"row-gap-token","row-gap-token",-219143816);var cx="columns min-column-size gap row-gap column-gap align-items justify-items auto-flow inline".split(" "),Vw=new $APP.R(null,new $APP.P(null,6,["none",null,"xs",null,"md",null,"lg",null,"xl",null,"sm",null],null),null),Ww=new $APP.R(null,new $APP.P(null,4,["center",null,"start",null,"stretch",null,"end",null],null),null),Xw=new $APP.R(null,new $APP.P(null,5,["column-dense",null,"row-dense",null,"dense",null,"column",null,"row",null],null),null);$APP.ka("
|
|
8
|
+
-267946462),Yw=new $APP.K(null,"row-gap-token","row-gap-token",-219143816);var cx="columns min-column-size gap row-gap column-gap align-items justify-items auto-flow inline".split(" "),Vw=new $APP.R(null,new $APP.P(null,6,["none",null,"xs",null,"md",null,"lg",null,"xl",null,"sm",null],null),null),Ww=new $APP.R(null,new $APP.P(null,4,["center",null,"start",null,"stretch",null,"end",null],null),null),Xw=new $APP.R(null,new $APP.P(null,5,["column-dense",null,"row-dense",null,"dense",null,"column",null,"row",null],null),null);$APP.ka("baredom.exports.x_grid.init",ex);export const init=ex;
|
package/dist/x-menu-item.js
CHANGED
|
@@ -8,4 +8,4 @@ b;a.__xMenuItemHandlers=f},dD=function(a){Object.defineProperty(a.prototype,"val
|
|
|
8
8
|
function(){if(ZC(this)){cD(this);var b=bD(this)}else{if(!ZC(this)){var c=this.attachShadow({mode:"open"}),d=document.createElement("style");b=document.createElement("div");var e=document.createElement("span"),f=document.createElement("slot"),h=document.createElement("span"),k=document.createElement("slot"),m=document.createElement("hr");d.textContent=":host{display:block;outline:none;color-scheme:light dark;--x-menu-item-color:#111827;--x-menu-item-hover-bg:#f3f4f6;--x-menu-item-focus-bg:#eff6ff;--x-menu-item-focus-color:#1d4ed8;--x-menu-item-disabled-opacity:0.45;--x-menu-item-danger-color:#dc2626;--x-menu-item-danger-hover-bg:#fef2f2;--x-menu-item-padding:8px 12px;--x-menu-item-border-radius:4px;--x-menu-item-font-size:0.9375rem;--x-menu-item-icon-gap:8px;--x-menu-item-divider-color:#e5e7eb;}@media (prefers-color-scheme:dark){:host{--x-menu-item-color:#f9fafb;--x-menu-item-hover-bg:#1f2937;--x-menu-item-focus-bg:#1e3a5f;--x-menu-item-focus-color:#60a5fa;--x-menu-item-danger-color:#f87171;--x-menu-item-danger-hover-bg:#2d1515;--x-menu-item-divider-color:#374151;}}.base{display:flex;align-items:center;gap:var(--x-menu-item-icon-gap);padding:var(--x-menu-item-padding);border-radius:var(--x-menu-item-border-radius);font-size:var(--x-menu-item-font-size);color:var(--x-menu-item-color);cursor:pointer;user-select:none;transition:background 100ms ease,color 100ms ease;}.base:hover{background:var(--x-menu-item-hover-bg);}:host(:focus) .base{background:var(--x-menu-item-focus-bg);color:var(--x-menu-item-focus-color);}.base[data-variant\x3d'danger']{color:var(--x-menu-item-danger-color);}.base[data-variant\x3d'danger']:hover{background:var(--x-menu-item-danger-hover-bg);}:host(:focus) .base[data-variant\x3d'danger']{background:var(--x-menu-item-danger-hover-bg);}.base[data-disabled\x3d'true']{opacity:var(--x-menu-item-disabled-opacity);cursor:default;pointer-events:none;}.base[data-type\x3d'divider']{padding:0;cursor:default;pointer-events:none;}.icon-span{display:none;flex-shrink:0;align-items:center;}:host([has-icon]) .icon-span{display:flex;}.divider-hr{display:none;}.base[data-type\x3d'divider'] .icon-span,.base[data-type\x3d'divider'] .label-span{display:none;}.base[data-type\x3d'divider'] .divider-hr{display:block;width:100%;border:none;border-top:1px solid var(--x-menu-item-divider-color);margin:4px 0;}@media (prefers-reduced-motion:reduce){.base{transition:none;}}";
|
|
9
9
|
b.setAttribute("part","base");b.className="base";e.setAttribute("part","icon");e.className="icon-span";f.setAttribute("name","icon");e.appendChild(f);h.className="label-span";h.appendChild(k);m.className="divider-hr";b.appendChild(e);b.appendChild(h);b.appendChild(m);c.appendChild(d);c.appendChild(b);c={};c.base=b;c["icon-span"]=e;c["icon-slot"]=f;this.__xMenuItemRefs=c;cD(this);this.__xMenuItemInit=!0}bD(this);b=this}return b};a.prototype.disconnectedCallback=function(){var b=$APP.l(this,"__xMenuItemHandlers");
|
|
10
10
|
var c=$APP.l(this,"__xMenuItemRefs");if($APP.n(b)){var d=$APP.l(b,"keydown"),e=$APP.l(b,"icon-slotchange");c=$APP.n(c)?$APP.l(c,"icon-slot"):null;this.removeEventListener("click",$APP.l(b,"click"));this.removeEventListener("keydown",d);b=$APP.n(c)?c.removeEventListener("slotchange",e):null}else b=null;return b};a.prototype.attributeChangedCallback=function(){return ZC(this)?bD(this):null};dD(a);return a},gD=function(){return $APP.n(customElements.get("x-menu-item"))?null:customElements.define("x-menu-item",
|
|
11
|
-
fD())};var eD=["value","disabled","variant","type"],WC=new $APP.R(null,new $APP.P(null,2,["",null,"danger",null],null),null),XC=new $APP.R(null,new $APP.P(null,2,["",null,"divider",null],null),null);$APP.wd(["x-menu-item-select",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.T,$APP.X],null)],null)]);$APP.ka("
|
|
11
|
+
fD())};var eD=["value","disabled","variant","type"],WC=new $APP.R(null,new $APP.P(null,2,["",null,"danger",null],null),null),XC=new $APP.R(null,new $APP.P(null,2,["",null,"divider",null],null),null);$APP.wd(["x-menu-item-select",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.T,$APP.X],null)],null)]);$APP.ka("baredom.exports.x_menu_item.init",gD);export const init=gD;
|
package/dist/x-menu.js
CHANGED
|
@@ -10,4 +10,4 @@ set:function(b){return $APP.n(b)?this.setAttribute("label",b):this.removeAttribu
|
|
|
10
10
|
d.textContent=":host{display:inline-block;position:relative;color-scheme:light dark;--x-menu-bg:#ffffff;--x-menu-border:1px solid #e5e7eb;--x-menu-border-radius:8px;--x-menu-shadow:0 4px 16px rgba(0,0,0,0.12);--x-menu-min-width:160px;--x-menu-padding:4px;--x-menu-z-index:1000;}@media (prefers-color-scheme:dark){:host{--x-menu-bg:#1f2937;--x-menu-border:1px solid #374151;--x-menu-shadow:0 4px 16px rgba(0,0,0,0.4);}}.base{position:relative;display:inline-block;}.popup{display:none;position:absolute;background:var(--x-menu-bg);border:var(--x-menu-border);border-radius:var(--x-menu-border-radius);box-shadow:var(--x-menu-shadow);min-width:var(--x-menu-min-width);padding:var(--x-menu-padding);z-index:var(--x-menu-z-index);box-sizing:border-box;}:host([open]) .popup{display:block;}.popup[data-placement\x3d'bottom-start']{top:100%;left:0;margin-top:4px;}.popup[data-placement\x3d'bottom-end']{top:100%;right:0;margin-top:4px;}.popup[data-placement\x3d'top-start']{bottom:100%;left:0;margin-bottom:4px;}.popup[data-placement\x3d'top-end']{bottom:100%;right:0;margin-bottom:4px;}";
|
|
11
11
|
b.setAttribute("part","base");b.className="base";e.setAttribute("name","trigger");f.setAttribute("part","popup");f.className="popup";f.setAttribute("role","menu");f.appendChild(h);b.appendChild(e);b.appendChild(f);c.appendChild(d);c.appendChild(b);c={};c.base=b;c.popup=f;c["trigger-slot"]=e;c["item-slot"]=h;this.__xMenuRefs=c;sv(this);this.__xMenuInit=!0}rv(this);b=this}return b};a.prototype.disconnectedCallback=function(){var b=$APP.l(this,"__xMenuHandlers");if($APP.n(b)){var c=$APP.l(b,"doc-click"),
|
|
12
12
|
d=$APP.l(b,"keydown"),e=$APP.l(b,"item-select");this.removeEventListener("click",$APP.l(b,"click"));document.removeEventListener("click",c,!0);this.removeEventListener("keydown",d);b=this.removeEventListener("x-menu-item-select",e)}else b=null;return b};a.prototype.attributeChangedCallback=function(){return hv(this)?rv(this):null};tv(a);return a},wv=function(){return $APP.n(customElements.get("x-menu"))?null:customElements.define("x-menu",vv())},kv=new $APP.K(null,"first","first",-644103046),lv=new $APP.K(null,
|
|
13
|
-
"last","last",1105735132);var uv=["open","placement","label"],qv=new $APP.R(null,new $APP.P(null,4,["bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null],null),null);$APP.wd(["x-menu-open",new $APP.P(null,1,[$APP.Y,$APP.xd],null),"x-menu-close",new $APP.P(null,1,[$APP.Y,$APP.xd],null),"x-menu-select",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.T,$APP.X],null)],null)]);$APP.ka("
|
|
13
|
+
"last","last",1105735132);var uv=["open","placement","label"],qv=new $APP.R(null,new $APP.P(null,4,["bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null],null),null);$APP.wd(["x-menu-open",new $APP.P(null,1,[$APP.Y,$APP.xd],null),"x-menu-close",new $APP.P(null,1,[$APP.Y,$APP.xd],null),"x-menu-select",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.T,$APP.X],null)],null)]);$APP.ka("baredom.exports.x_menu.init",wv);export const init=wv;
|
package/dist/x-modal.js
CHANGED
|
@@ -11,4 +11,4 @@ h.focus()):$APP.p(q)&&$APP.D.h(k,h)&&(f.preventDefault(),m.focus())}}return null
|
|
|
11
11
|
e);$APP.n(b)&&c.removeEventListener("keydown",b)}a.__xModalHandlers=null},VD=function(a){Object.defineProperty(a,"open",{get:function(){return this.hasAttribute("open")},set:function(b){return $APP.n(b)?QD(this):RD(this)},enumerable:!0,configurable:!0});Object.defineProperty(a,"size",{get:function(){var b=this.getAttribute("size");return $APP.n(b)?b:"md"},set:function(b){return b==null?this.removeAttribute("size"):this.setAttribute("size",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,
|
|
12
12
|
"label",{get:function(){var b=this.getAttribute("label");return $APP.n(b)?b:"Modal"},set:function(b){return b==null?this.removeAttribute("label"):this.setAttribute("label",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"show",{value:function(){return QD(this)},enumerable:!0,configurable:!0,writable:!0});Object.defineProperty(a,"hide",{value:function(){return RD(this)},enumerable:!0,configurable:!0,writable:!0});Object.defineProperty(a,"toggle",{value:function(){$APP.n(this.hasAttribute("open"))?
|
|
13
13
|
RD(this):QD(this);return null},enumerable:!0,configurable:!0,writable:!0})},XD=function(){if(!$APP.n(customElements.get("x-modal"))){var a=class extends HTMLElement{};a.observedAttributes=WD;a.prototype.connectedCallback=function(){JD(this);UD(this);TD(this);SD(this);return null};a.prototype.disconnectedCallback=function(){UD(this);OD(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&SD(this);return null};VD(a.prototype);customElements.define("x-modal",a)}return null},
|
|
14
|
-
YD=function(){return XD()};var KD=new $APP.R(null,new $APP.P(null,5,["md",null,"lg",null,"full",null,"xl",null,"sm",null],null),null),WD=["open","size","label"];$APP.wd(["x-modal-toggle",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.si,$APP.Li],null)],null),"x-modal-dismiss",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.xh,$APP.X],null)],null)]);$APP.ka("
|
|
14
|
+
YD=function(){return XD()};var KD=new $APP.R(null,new $APP.P(null,5,["md",null,"lg",null,"full",null,"xl",null,"sm",null],null),null),WD=["open","size","label"];$APP.wd(["x-modal-toggle",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.si,$APP.Li],null)],null),"x-modal-dismiss",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.xh,$APP.X],null)],null)]);$APP.ka("baredom.exports.x_modal.init",YD);export const init=YD;
|
package/dist/x-navbar.js
CHANGED
|
@@ -10,4 +10,4 @@ var a=Object.create(HTMLElement.prototype),b=FD();Object.setPrototypeOf(b,HTMLEl
|
|
|
10
10
|
e.setAttribute("part","base");f.setAttribute("part","bar");h.setAttribute("part","brand");k.setAttribute("part","start");m.setAttribute("part","nav");q.setAttribute("part","actions");r.setAttribute("part","toggle");u.setAttribute("part","end");w.setAttribute("name","brand");z.setAttribute("name","start");C.setAttribute("name","actions");F.setAttribute("name","toggle");E.setAttribute("name","end");h.appendChild(w);k.appendChild(z);m.appendChild(A);q.appendChild(C);r.appendChild(F);u.appendChild(E);
|
|
11
11
|
f.appendChild(h);f.appendChild(k);f.appendChild(m);f.appendChild(q);f.appendChild(r);f.appendChild(u);e.appendChild(f);c.appendChild(d);c.appendChild(e);c={"end-slot":E,bar:f,start:k,toggle:r,actions:q,brand:h,"default-slot":A,root:c,"brand-slot":w,"start-slot":z,"actions-slot":C,"toggle-slot":F,end:u,base:e,nav:m};d=c.base;rD(this,!1);CD(this,d);DD(this,c);this.__xNavbarState=c}return BD(this,qD(this))};a.disconnectedCallback=function(){return rD(this,!1)};a.attributeChangedCallback=function(){var c=
|
|
12
12
|
qD(this);return $APP.n(c)?BD(this,c):null};b.observedAttributes=GD;b.prototype=a;return customElements.define("x-navbar",b)},ID=function(){return HD()},vD=new $APP.K(null,"elevated","elevated",-7323953),wD=new $APP.K(null,"alignment","alignment",1040093386);var xD=new $APP.R(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null),yD=new $APP.R(null,new $APP.P(null,4,["transparent",null,"inverted",null,"subtle",null,"default",null],null),null),zD=new $APP.R(null,new $APP.P(null,4,["md",null,"lg",null,"xl",null,"sm",null],null),null),AD=new $APP.R(null,new $APP.P(null,3,["center",null,"start",null,"space-between",null],null),null),GD="label orientation variant sticky elevated breakpoint alignment".split(" ");
|
|
13
|
-
$APP.wd(["focus-visible",new $APP.P(null,1,[$APP.Y,$APP.xd],null),"navigate",new $APP.P(null,1,[$APP.Y,new $APP.P(null,2,[$APP.Yi,$APP.X,$APP.Ch,$APP.X],null)],null),"brand-activate",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.Ch,$APP.X],null)],null)]);$APP.ka("
|
|
13
|
+
$APP.wd(["focus-visible",new $APP.P(null,1,[$APP.Y,$APP.xd],null),"navigate",new $APP.P(null,1,[$APP.Y,new $APP.P(null,2,[$APP.Yi,$APP.X,$APP.Ch,$APP.X],null)],null),"brand-activate",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.Ch,$APP.X],null)],null)]);$APP.ka("baredom.exports.x_navbar.init",ID);export const init=ID;
|
|
@@ -7,4 +7,4 @@ q=$APP.l(b,"dismissible");d.setAttribute("data-notification-id",e);$APP.n(f)&&d.
|
|
|
7
7
|
set:function(b){return $APP.n(b)?this.setAttribute("position",""+$APP.S.g(b)):this.removeAttribute("position")},enumerable:!0,configurable:!0});Object.defineProperty(a,"max",{get:function(){return Dk(this.getAttribute("max"))},set:function(b){return $APP.n(b)?this.setAttribute("max",""+$APP.S.g(b|0)):this.removeAttribute("max")},enumerable:!0,configurable:!0});Object.defineProperty(a,"count",{get:function(){var b=$APP.l(this,"__xNcRefs");return $APP.n(b)?$APP.l(b,"container").querySelectorAll("x-alert").length:
|
|
8
8
|
0},enumerable:!0,configurable:!0})},Nk=function(){var a=class extends HTMLElement{};a.observedAttributes=Mk;a.prototype.connectedCallback=function(){Ek(this);Ik(this);Hk(this);Fk(this);return null};a.prototype.disconnectedCallback=function(){Ik(this);return null};a.prototype.attributeChangedCallback=function(b){$APP.D.h(b,"position")?Fk(this):$APP.D.h(b,"max")&&(this.__xNcMax=Dk(this.getAttribute("max")));return null};Lk(a.prototype);a.prototype.push=function(b){return Kk(this,b)};a.prototype.clear=
|
|
9
9
|
function(){var b=Ek(this);b=$APP.v($APP.gc($APP.l(b,"container").querySelectorAll("x-alert")));for(var c=null,d=0,e=0;;)if(e<d)c.F(null,e).remove(),e+=1;else if(b=$APP.v(b))c=b,$APP.yc(c)?(b=$APP.ob(c),e=$APP.pb(c),c=b,d=$APP.B(b),b=e):($APP.x(c).remove(),b=$APP.y(c),c=null,d=0),e=0;else break;return null};return a},Ok=function(){$APP.n(customElements.get("x-notification-center"))||customElements.define("x-notification-center",Nk());return null};var Mk=["position","max"],Bk=new $APP.R(null,new $APP.P(null,6,["top-center",null,"bottom-center",null,"top-right",null,"bottom-right",null,"top-left",null,"bottom-left",null],null),null);
|
|
10
|
-
$APP.wd(["x-notification-center-push",new $APP.P(null,2,[$APP.Y,new $APP.P(null,2,[$APP.Ih,$APP.X,$APP.Hg,$APP.Gh],null),$APP.wi,!1],null),"x-notification-center-dismiss",new $APP.P(null,2,[$APP.Y,new $APP.P(null,5,[$APP.Ih,$APP.X,$APP.Z,$APP.X,$APP.xh,$APP.X,$APP.Mh,$APP.X,$APP.Hg,$APP.Gh],null),$APP.wi,!1],null),"x-notification-center-empty",new $APP.P(null,2,[$APP.Y,$APP.xd,$APP.wi,!1],null)]);var Jk={v:0};$APP.ka("
|
|
10
|
+
$APP.wd(["x-notification-center-push",new $APP.P(null,2,[$APP.Y,new $APP.P(null,2,[$APP.Ih,$APP.X,$APP.Hg,$APP.Gh],null),$APP.wi,!1],null),"x-notification-center-dismiss",new $APP.P(null,2,[$APP.Y,new $APP.P(null,5,[$APP.Ih,$APP.X,$APP.Z,$APP.X,$APP.xh,$APP.X,$APP.Mh,$APP.X,$APP.Hg,$APP.Gh],null),$APP.wi,!1],null),"x-notification-center-empty",new $APP.P(null,2,[$APP.Y,$APP.xd,$APP.wi,!1],null)]);var Jk={v:0};$APP.ka("baredom.exports.x_notification_center.init",Ok);export const init=Ok;
|
package/dist/x-pagination.js
CHANGED
|
@@ -14,4 +14,4 @@ b);$APP.ma(a,"__xPaginationHandlers",{click:b})},Bw=function(a){var b=$APP.l(a,"
|
|
|
14
14
|
configurable:!0})},Dw=function(a,b,c){Object.defineProperty(a,b,{get:function(){return $v(this.getAttribute(c))},set:function(d){return d!=null?this.setAttribute(c,""+$APP.S.g(d)):this.removeAttribute(c)},enumerable:!0,configurable:!0})},Ew=function(a){Dw(a,"page","page");Dw(a,"total-pages","total-pages");Dw(a,"sibling-count","sibling-count");Dw(a,"boundary-count","boundary-count");Cw(a)},Gw=function(){var a=class extends HTMLElement{};a.observedAttributes=Fw;a.prototype.connectedCallback=function(){gw(this);
|
|
15
15
|
Bw(this);Aw(this);xw(this);return null};a.prototype.disconnectedCallback=function(){Bw(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&xw(this);return null};Ew(a.prototype);return a},Hw=function(){$APP.n(customElements.get("x-pagination"))||customElements.define("x-pagination",Gw());return null},mw=new $APP.K(null,"total-pages-raw","total-pages-raw",430880208),fw=new $APP.K(null,"next-btn","next-btn",-286265938),cw=new $APP.K(null,"prev-li","prev-li",940258334),
|
|
16
16
|
tw=new $APP.K(null,"boundary-count","boundary-count",1637925987),lw=new $APP.K(null,"page-raw","page-raw",-1198808870),aw=new $APP.K(null,"li","li",723558921),dw=new $APP.K(null,"prev-btn","prev-btn",-352689882),vw=new $APP.K(null,"ellipsis","ellipsis",998505738),ww=new $APP.K(null,"n","n",562130025),ow=new $APP.K(null,"boundary-count-raw","boundary-count-raw",410083250),rw=new $APP.K(null,"total-pages","total-pages",685894112),qw=new $APP.K(null,"page","page",849072397),ew=new $APP.K(null,"next-li",
|
|
17
|
-
"next-li",648524823),nw=new $APP.K(null,"sibling-count-raw","sibling-count-raw",-620117200),bw=new $APP.K(null,"btn","btn",1978294651),sw=new $APP.K(null,"sibling-count","sibling-count",1756034573);var Fw="page total-pages sibling-count boundary-count size disabled label".split(" "),pw=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null);$APP.ka("
|
|
17
|
+
"next-li",648524823),nw=new $APP.K(null,"sibling-count-raw","sibling-count-raw",-620117200),bw=new $APP.K(null,"btn","btn",1978294651),sw=new $APP.K(null,"sibling-count","sibling-count",1756034573);var Fw="page total-pages sibling-count boundary-count size disabled label".split(" "),pw=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null);$APP.ka("baredom.exports.x_pagination.init",Hw);export const init=Hw;
|
package/dist/x-popover.js
CHANGED
|
@@ -10,4 +10,4 @@ b,{configurable:!0,enumerable:!0,get:function(){var d=this.getAttribute(c);retur
|
|
|
10
10
|
e.setAttribute("part","trigger");f.setAttribute("name","trigger");h.setAttribute("part","panel");h.setAttribute("role","dialog");h.setAttribute("inert","");h.setAttribute("data-placement","bottom-start");k.setAttribute("part","arrow");k.setAttribute("aria-hidden","true");m.setAttribute("part","header");q.setAttribute("part","heading");q.setAttribute("id","popover-heading");r.setAttribute("part","close-button");r.setAttribute("type","button");r.setAttribute("aria-label","Close");r.innerHTML='\x3csvg width\x3d"14" height\x3d"14" viewBox\x3d"0 0 14 14" fill\x3d"none" xmlns\x3d"http://www.w3.org/2000/svg" aria-hidden\x3d"true"\x3e\x3cpath d\x3d"M1 1L13 13M13 1L1 13" stroke\x3d"currentColor" stroke-width\x3d"2" stroke-linecap\x3d"round"/\x3e\x3c/svg\x3e';
|
|
11
11
|
u.setAttribute("part","body");z.setAttribute("part","footer");A.setAttribute("name","footer");e.appendChild(f);m.appendChild(q);m.appendChild(r);u.appendChild(w);z.appendChild(A);h.appendChild(k);h.appendChild(m);h.appendChild(u);h.appendChild(z);c.appendChild(d);c.appendChild(e);c.appendChild(h);this.__xPopoverRefs={trigger:e,panel:h,heading:q,closeBtn:r,body:u,footer:z}}Xm(this);Vm(this);this.__xPopoverHandlers=Wm(this);c=$APP.l(this,"__xPopoverRefs");$APP.n(c)&&(d=$APP.l(this,"__xPopoverHandlers"),
|
|
12
12
|
$APP.n(d)&&(e=$APP.l(c,"closeBtn"),$APP.l(c,"trigger").addEventListener("click",$APP.l(d,"triggerClick")),e.addEventListener("click",$APP.l(d,"closeBtnClick")),this.addEventListener("focusout",$APP.l(d,"hostFocusout"))));$APP.n(this.hasAttribute("open"))&&Um(this);return Om(this)};b.disconnectedCallback=function(){Xm(this);return Vm(this)};b.attributeChangedCallback=function(c){$APP.n($APP.l(this,"__xPopoverRefs"))?(Om(this),c=$APP.D.h(c,"open")?$APP.n(this.hasAttribute("open"))?Um(this):Vm(this):
|
|
13
|
-
null):c=null;return c};return a},bn=function(){return $APP.n(customElements.get("x-popover"))?null:customElements.define("x-popover",an())};var Km=new $APP.R(null,new $APP.P(null,4,["bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null],null),null),$m="open placement heading close-label no-close disabled".split(" ");$APP.wd(["x-popover-toggle",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,2,[$APP.si,$APP.Li,$APP.Ch,$APP.X],null)],null),"x-popover-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.si,$APP.Li],null)],null)]);$APP.ka("
|
|
13
|
+
null):c=null;return c};return a},bn=function(){return $APP.n(customElements.get("x-popover"))?null:customElements.define("x-popover",an())};var Km=new $APP.R(null,new $APP.P(null,4,["bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null],null),null),$m="open placement heading close-label no-close disabled".split(" ");$APP.wd(["x-popover-toggle",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,2,[$APP.si,$APP.Li,$APP.Ch,$APP.X],null)],null),"x-popover-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,1,[$APP.si,$APP.Li],null)],null)]);$APP.ka("baredom.exports.x_popover.init",bn);export const init=bn;
|
|
@@ -9,4 +9,4 @@ this.setAttribute("show-value",""):this.removeAttribute("show-value")},enumerabl
|
|
|
9
9
|
h=document.createElementNS("http://www.w3.org/2000/svg","circle"),k=document.createElement("div"),m=document.createElement("span");c.textContent=":host{display:inline-flex;color-scheme:light dark;box-sizing:border-box;--x-progress-circle-size:64px;--x-progress-circle-track-color:rgba(0,0,0,0.10);--x-progress-circle-fill-color:#3b82f6;--x-progress-circle-stroke-width:2.8;--x-progress-circle-value-color:rgba(0,0,0,0.50);--x-progress-circle-transition-duration:0.3s;}@media (prefers-color-scheme:dark){:host{--x-progress-circle-track-color:rgba(255,255,255,0.12);--x-progress-circle-value-color:rgba(255,255,255,0.50);}}[part\x3dbase][data-size\x3d'sm']{--x-progress-circle-size:40px;}[part\x3dbase][data-size\x3d'md']{--x-progress-circle-size:64px;}[part\x3dbase][data-size\x3d'lg']{--x-progress-circle-size:96px;}[part\x3dbase][data-variant\x3d'success']{--x-progress-circle-fill-color:#22c55e;}[part\x3dbase][data-variant\x3d'warning']{--x-progress-circle-fill-color:#f59e0b;}[part\x3dbase][data-variant\x3d'danger']{--x-progress-circle-fill-color:#ef4444;}[part\x3dbase]{position:relative;display:inline-flex;width:var(--x-progress-circle-size);height:var(--x-progress-circle-size);}[part\x3dsvg]{width:100%;height:100%;}[part\x3dtrack]{fill:none;stroke:var(--x-progress-circle-track-color);stroke-width:var(--x-progress-circle-stroke-width);}[part\x3dfill]{fill:none;stroke:var(--x-progress-circle-fill-color);stroke-width:var(--x-progress-circle-stroke-width);stroke-linecap:round;transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset var(--x-progress-circle-transition-duration) ease;}[part\x3dcenter]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;}[part\x3dvalue-text]{font-size:calc(var(--x-progress-circle-size) * 0.22);color:var(--x-progress-circle-value-color);font-weight:500;line-height:1;}@keyframes x-progress-circle-spin{from{transform:rotate(-90deg);}to{transform:rotate(270deg);}}[part\x3dbase][data-indeterminate\x3d'true'] [part\x3dfill]{animation:x-progress-circle-spin 1.2s linear infinite;}@media (prefers-reduced-motion:reduce){[part\x3dfill]{transition:none;}[part\x3dbase][data-indeterminate\x3d'true'] [part\x3dfill]{animation:none;}}";
|
|
10
10
|
d.setAttribute("part","base");e.setAttribute("part","svg");e.setAttribute("viewBox","0 0 36 36");e.setAttribute("aria-hidden","true");e.setAttribute("focusable","false");f.setAttribute("part","track");f.setAttribute("cx","18");f.setAttribute("cy","18");f.setAttribute("r","15.9155");h.setAttribute("part","fill");h.setAttribute("cx","18");h.setAttribute("cy","18");h.setAttribute("r","15.9155");k.setAttribute("part","center");m.setAttribute("part","value-text");e.appendChild(f);e.appendChild(h);k.appendChild(m);
|
|
11
11
|
d.appendChild(e);d.appendChild(k);b.appendChild(c);b.appendChild(d);this.__xProgressCircleBase=d;this.__xProgressCircleFill=h;this.__xProgressCircleValueNode=m;this.__xProgressCircleInit=!0}kD(this);return null};a.prototype.disconnectedCallback=function(){return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&$APP.n($APP.l(this,"__xProgressCircleInit"))&&kD(this);return null};lD(a.prototype);return a},oD=function(){$APP.n(customElements.get("x-progress-circle"))||customElements.define("x-progress-circle",
|
|
12
|
-
nD());return null};var iD=new $APP.R(null,new $APP.P(null,4,["success",null,"warning",null,"danger",null,"default",null],null),null),jD=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null),mD="value max variant size label show-value indeterminate".split(" ");$APP.wd(["x-progress-circle-complete",new $APP.P(null,1,[$APP.Y,new $APP.P(null,2,[$APP.T,$APP.Gh,$APP.fh,$APP.Gh],null)],null)]);$APP.ka("
|
|
12
|
+
nD());return null};var iD=new $APP.R(null,new $APP.P(null,4,["success",null,"warning",null,"danger",null,"default",null],null),null),jD=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null),mD="value max variant size label show-value indeterminate".split(" ");$APP.wd(["x-progress-circle-complete",new $APP.P(null,1,[$APP.Y,new $APP.P(null,2,[$APP.T,$APP.Gh,$APP.fh,$APP.Gh],null)],null)]);$APP.ka("baredom.exports.x_progress_circle.init",oD);export const init=oD;
|
package/dist/x-progress.js
CHANGED
|
@@ -8,4 +8,4 @@ configurable:!0});Object.defineProperty(a,"max",{get:function(){var b=this.getAt
|
|
|
8
8
|
set:function(b){return $APP.n(b)?this.setAttribute("show-value",""):this.removeAttribute("show-value")},enumerable:!0,configurable:!0})},PH=function(){var a=class extends HTMLElement{};a.observedAttributes=OH;a.prototype.connectedCallback=function(){if(!$APP.n($APP.l(this,"__xProgressInit"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div"),f=document.createElement("span"),h=document.createElement("span"),k=document.createElement("div"),
|
|
9
9
|
m=document.createElement("div");c.textContent=":host{display:block;color-scheme:light dark;box-sizing:border-box;--x-progress-border-radius:9999px;--x-progress-track-color:rgba(0,0,0,0.10);--x-progress-fill-color:#3b82f6;--x-progress-label-color:rgba(0,0,0,0.60);--x-progress-value-color:rgba(0,0,0,0.50);}@media (prefers-color-scheme:dark){:host{--x-progress-track-color:rgba(255,255,255,0.12);--x-progress-label-color:rgba(255,255,255,0.60);--x-progress-value-color:rgba(255,255,255,0.50);}}[part\x3dbase][data-size\x3d'sm']{--x-progress-height:4px;}[part\x3dbase][data-size\x3d'md']{--x-progress-height:8px;}[part\x3dbase][data-size\x3d'lg']{--x-progress-height:12px;}[part\x3dbase][data-variant\x3d'success']{--x-progress-fill-color:#22c55e;}[part\x3dbase][data-variant\x3d'warning']{--x-progress-fill-color:#f59e0b;}[part\x3dbase][data-variant\x3d'danger']{--x-progress-fill-color:#ef4444;}[part\x3dbase]{width:100%;box-sizing:border-box;}[part\x3dheader]{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px;}[part\x3dlabel-text]{font-size:0.875rem;color:var(--x-progress-label-color);font-weight:500;}[part\x3dvalue-text]{font-size:0.8125rem;color:var(--x-progress-value-color);}[part\x3dtrack]{height:var(--x-progress-height,8px);border-radius:var(--x-progress-border-radius,9999px);background:var(--x-progress-track-color);overflow:hidden;position:relative;}[part\x3dfill]{height:100%;background:var(--x-progress-fill-color);border-radius:var(--x-progress-border-radius,9999px);transition:width 0.3s ease;width:0%;}@keyframes x-progress-indeterminate{0%{transform:translateX(-100%) scaleX(0.5);}50%{transform:translateX(60%) scaleX(0.8);}100%{transform:translateX(200%) scaleX(0.5);}}[part\x3dbase][data-indeterminate\x3d'true'] [part\x3dfill]{animation:x-progress-indeterminate 1.5s ease infinite;width:40%;transform-origin:left center;}@media (prefers-reduced-motion:reduce){[part\x3dfill]{transition:none;}[part\x3dbase][data-indeterminate\x3d'true'] [part\x3dfill]{animation:none;width:50%;}}";
|
|
10
10
|
d.setAttribute("part","base");e.setAttribute("part","header");f.setAttribute("part","label-text");h.setAttribute("part","value-text");k.setAttribute("part","track");m.setAttribute("part","fill");e.appendChild(f);e.appendChild(h);k.appendChild(m);d.appendChild(e);d.appendChild(k);b.appendChild(c);b.appendChild(d);this.__xProgressBase=d;this.__xProgressHeader=e;this.__xProgressFill=m;this.__xProgressLabel=f;this.__xProgressValue=h;this.__xProgressInit=!0}MH(this);return null};a.prototype.disconnectedCallback=
|
|
11
|
-
function(){return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&$APP.n($APP.l(this,"__xProgressInit"))&&MH(this);return null};NH(a.prototype);return a},QH=function(){$APP.n(customElements.get("x-progress"))||customElements.define("x-progress",PH());return null};var KH=new $APP.R(null,new $APP.P(null,4,["success",null,"warning",null,"danger",null,"default",null],null),null),LH=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null),OH="value max variant size label show-value indeterminate".split(" ");$APP.wd(["x-progress-complete",new $APP.P(null,1,[$APP.Y,new $APP.P(null,2,[$APP.T,$APP.Gh,$APP.fh,$APP.Gh],null)],null)]);$APP.ka("
|
|
11
|
+
function(){return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&$APP.n($APP.l(this,"__xProgressInit"))&&MH(this);return null};NH(a.prototype);return a},QH=function(){$APP.n(customElements.get("x-progress"))||customElements.define("x-progress",PH());return null};var KH=new $APP.R(null,new $APP.P(null,4,["success",null,"warning",null,"danger",null,"default",null],null),null),LH=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null),OH="value max variant size label show-value indeterminate".split(" ");$APP.wd(["x-progress-complete",new $APP.P(null,1,[$APP.Y,new $APP.P(null,2,[$APP.T,$APP.Gh,$APP.fh,$APP.Gh],null)],null)]);$APP.ka("baredom.exports.x_progress.init",QH);export const init=QH;
|
package/dist/x-radio.js
CHANGED
|
@@ -10,4 +10,4 @@ $APP.l(a,"__xRadioRefs");if($APP.n(b)){var c=$APP.l(a,"__xRadioHandlers");if($AP
|
|
|
10
10
|
get:function(){var d=this.getAttribute(c);return $APP.n(d)?d:null},set:function(d){return d!=null&&$APP.N(d)?tn(this,c,""+$APP.S.g(d)):this.removeAttribute(c)}})},Jn=function(){var a=class extends HTMLElement{},b=a.prototype;a.formAssociated=!0;Object.defineProperty(a,"observedAttributes",{get:function(){return In}});Gn(b,"checked","checked");Gn(b,"disabled","disabled");Gn(b,"readOnly","readonly");Gn(b,"required","required");Hn(b,"name","name");Hn(b,"value","value");b.connectedCallback=function(){if(!$APP.n($APP.l(this,
|
|
11
11
|
"__xRadioRefs"))){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("button"),f=document.createElement("span");d.textContent=":host{display:inline-block;vertical-align:middle;color-scheme:light dark;--x-radio-size:16px;--x-radio-border-width:2px;--x-radio-border-color:#6b7280;--x-radio-bg:#ffffff;--x-radio-checked-color:#2563eb;--x-radio-dot-size:6px;--x-radio-focus-ring:#60a5fa;--x-radio-disabled-opacity:0.45;--x-radio-transition:background 120ms ease,border-color 120ms ease;}@media (prefers-color-scheme:dark){:host{--x-radio-border-color:#9ca3af;--x-radio-bg:#1f2937;--x-radio-checked-color:#3b82f6;--x-radio-focus-ring:#93c5fd;}}[part\x3dcontrol]{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:var(--x-radio-size);height:var(--x-radio-size);border:var(--x-radio-border-width) solid var(--x-radio-border-color);border-radius:50%;background:var(--x-radio-bg);transition:var(--x-radio-transition);cursor:pointer;flex-shrink:0;position:relative;}[part\x3dcontrol][disabled]{cursor:default;opacity:var(--x-radio-disabled-opacity);}[part\x3dcontrol]:focus-visible{outline:none;box-shadow:0 0 0 3px var(--x-radio-focus-ring);}:host([data-checked]) [part\x3dcontrol]{border-color:var(--x-radio-checked-color);}[part\x3ddot]{display:block;width:var(--x-radio-dot-size);height:var(--x-radio-dot-size);border-radius:50%;background:var(--x-radio-checked-color);opacity:0;transition:opacity 100ms ease;}:host([data-checked]) [part\x3ddot]{opacity:1;}@media (prefers-reduced-motion:reduce){[part\x3dcontrol]{transition:none;}[part\x3ddot]{transition:none;}}";
|
|
12
12
|
e.setAttribute("part","control");e.setAttribute("type","button");e.setAttribute("role","radio");f.setAttribute("part","dot");e.appendChild(f);c.appendChild(d);c.appendChild(e);this.__xRadioRefs={root:c,control:e,dot:f};$APP.n(this.attachInternals)&&(this.__xRadioInternals=this.attachInternals())}Fn(this);c=$APP.l(this,"__xRadioRefs");$APP.n(c)&&(c=$APP.l(c,"control"),d=En(this),e=Dn(this),f={click:d,keydown:e},this.addEventListener("click",d),c.addEventListener("keydown",e),this.__xRadioHandlers=
|
|
13
|
-
f);wn(this);return yn(this)};b.disconnectedCallback=function(){return Fn(this)};b.attributeChangedCallback=function(){return wn(this)};b.formDisabledCallback=function(c){un(this,"disabled",$APP.J(c));return wn(this)};b.formResetCallback=function(){this.removeAttribute("checked");return wn(this)};return a},Kn=function(){return $APP.n(customElements.get("x-radio"))?null:customElements.define("x-radio",Jn())};var In="checked disabled readonly required name value aria-label aria-describedby aria-labelledby".split(" ");$APP.wd(["x-radio-change-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,3,[$APP.T,$APP.X,$APP.Bg,$APP.Li,$APP.gi,$APP.Li],null)],null),"x-radio-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,2,[$APP.T,$APP.X,$APP.Si,$APP.Li],null)],null)]);$APP.ka("
|
|
13
|
+
f);wn(this);return yn(this)};b.disconnectedCallback=function(){return Fn(this)};b.attributeChangedCallback=function(){return wn(this)};b.formDisabledCallback=function(c){un(this,"disabled",$APP.J(c));return wn(this)};b.formResetCallback=function(){this.removeAttribute("checked");return wn(this)};return a},Kn=function(){return $APP.n(customElements.get("x-radio"))?null:customElements.define("x-radio",Jn())};var In="checked disabled readonly required name value aria-label aria-describedby aria-labelledby".split(" ");$APP.wd(["x-radio-change-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,3,[$APP.T,$APP.X,$APP.Bg,$APP.Li,$APP.gi,$APP.Li],null)],null),"x-radio-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,2,[$APP.T,$APP.X,$APP.Si,$APP.Li],null)],null)]);$APP.ka("baredom.exports.x_radio.init",Kn);export const init=Kn;
|
package/dist/x-search-field.js
CHANGED
|
@@ -14,4 +14,4 @@ e.setAttribute("part","wrapper");f.setAttribute("part","icon");f.innerHTML='\x3c
|
|
|
14
14
|
"false");k.setAttribute("part","clear");k.setAttribute("type","button");k.setAttribute("aria-label","Clear search");k.textContent="×";k.classList.add("clear-hidden");e.appendChild(f);e.appendChild(h);e.appendChild(k);c.appendChild(d);c.appendChild(e);this.__xSearchFieldRefs={wrapper:e,icon:f,input:h,clear:k}}$APP.n(this.attachInternals)&&(this.__xSearchFieldInternals=this.attachInternals())}El(this);c=$APP.l(this,"__xSearchFieldRefs");$APP.n(c)&&(c=$APP.l(c,"input"),d=this.getAttribute("value"),$APP.n(d)&&
|
|
15
15
|
(c.value=d));c=$APP.l(this,"__xSearchFieldInternals");$APP.n(c)&&(d=c.setFormValue,e=this.getAttribute("value"),d.call(c,$APP.n(e)?e:""));d=$APP.l(this,"__xSearchFieldRefs");$APP.n(d)&&(c=$APP.l(d,"input"),d=$APP.l(d,"clear"),e=Al(this),f=Bl(this),h=Cl(this),k=Dl(this),c.addEventListener("input",e),c.addEventListener("change",f),c.addEventListener("keydown",h),d.addEventListener("click",k),this.__xSearchFieldHandlers={input:e,change:f,keydown:h,click:k});return yl(this)};b.disconnectedCallback=function(){return El(this)};
|
|
16
16
|
b.attributeChangedCallback=function(c,d,e){$APP.D.h(c,"value")&&(c=$APP.l(this,"__xSearchFieldRefs"),$APP.n(c)&&(c=$APP.l(c,"input"),$APP.N(c.value,e)&&(c.value=$APP.n(e)?e:"")));return yl(this)};b.formDisabledCallback=function(c){ul(this,"disabled",$APP.J(c));return yl(this)};b.formResetCallback=function(){this.removeAttribute("value");var c=$APP.l(this,"__xSearchFieldRefs");$APP.n(c)&&($APP.l(c,"input").value="");c=$APP.l(this,"__xSearchFieldInternals");$APP.n(c)&&c.setFormValue("");return yl(this)};
|
|
17
|
-
return a},Kl=function(){return $APP.n(customElements.get("x-search-field"))?null:customElements.define("x-search-field",Jl())};var Il="name value placeholder label disabled required autocomplete".split(" "),xl=new $APP.R(null,new $APP.P(null,2,["off",null,"on",null],null),null);$APP.ka("
|
|
17
|
+
return a},Kl=function(){return $APP.n(customElements.get("x-search-field"))?null:customElements.define("x-search-field",Jl())};var Il="name value placeholder label disabled required autocomplete".split(" "),xl=new $APP.R(null,new $APP.P(null,2,["off",null,"on",null],null),null);$APP.ka("baredom.exports.x_search_field.init",Kl);export const init=Kl;
|
package/dist/x-select.js
CHANGED
|
@@ -9,4 +9,4 @@ b)):b=this.removeAttribute("value");return b}})},jz=function(){var a=class exten
|
|
|
9
9
|
m=document.createElement("slot");d.textContent=":host{display:inline-block;color-scheme:light dark;--x-select-height-sm:2rem;--x-select-height-md:2.5rem;--x-select-height-lg:3rem;--x-select-radius:0.5rem;--x-select-font-size-sm:0.75rem;--x-select-font-size-md:0.875rem;--x-select-font-size-lg:1rem;--x-select-padding-inline:0.75rem;--x-select-bg:#ffffff;--x-select-bg-disabled:#f8fafc;--x-select-fg:#0f172a;--x-select-fg-disabled:#94a3b8;--x-select-placeholder-fg:#94a3b8;--x-select-border:#cbd5e1;--x-select-border-hover:#94a3b8;--x-select-border-focus:#3b82f6;--x-select-chevron:#64748b;--x-select-focus-ring:#93c5fd;--x-select-shadow:0 1px 2px rgba(15,23,42,0.06);--x-select-transition-duration:140ms;}@media (prefers-color-scheme:dark){:host{--x-select-bg:#1f2937;--x-select-bg-disabled:#111827;--x-select-fg:#f1f5f9;--x-select-border:#374151;--x-select-border-hover:#4b5563;--x-select-border-focus:#60a5fa;--x-select-chevron:#94a3b8;}}[part\x3dwrapper]{position:relative;display:flex;align-items:stretch;height:var(--x-select-height-md);border:1px solid var(--x-select-border);border-radius:var(--x-select-radius);background:var(--x-select-bg);box-shadow:var(--x-select-shadow);transition:border-color var(--x-select-transition-duration) ease,box-shadow var(--x-select-transition-duration) ease;overflow:hidden;font-size:var(--x-select-font-size-md);}[part\x3dwrapper][data-size\x3dsm]{height:var(--x-select-height-sm);font-size:var(--x-select-font-size-sm);}[part\x3dwrapper][data-size\x3dlg]{height:var(--x-select-height-lg);font-size:var(--x-select-font-size-lg);}[part\x3dwrapper][data-disabled]{background:var(--x-select-bg-disabled);opacity:0.6;pointer-events:none;}[part\x3dwrapper]:hover:not([data-disabled]){border-color:var(--x-select-border-hover);}[part\x3dwrapper]:focus-within:not([data-disabled]){border-color:var(--x-select-border-focus);box-shadow:0 0 0 3px var(--x-select-focus-ring);}[part\x3dselect]{appearance:none;-webkit-appearance:none;flex:1;min-width:0;background:transparent;border:none;outline:none;color:var(--x-select-fg);font-size:inherit;font-family:inherit;padding-inline:var(--x-select-padding-inline);padding-inline-end:calc(var(--x-select-padding-inline) + 1.75rem);cursor:pointer;width:100%;}[part\x3dselect]:disabled{color:var(--x-select-fg-disabled);cursor:default;}[part\x3dselect] option[data-placeholder]{color:var(--x-select-placeholder-fg);}[part\x3dchevron]{position:absolute;right:var(--x-select-padding-inline);top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;pointer-events:none;color:var(--x-select-chevron);width:1rem;height:1rem;}slot{display:none;}@media (prefers-reduced-motion:reduce){[part\x3dwrapper]{transition:none;}}";
|
|
10
10
|
e.setAttribute("part","wrapper");f.setAttribute("part","select");k.setAttribute("part","chevron");k.setAttribute("aria-hidden","true");h.setAttribute("data-placeholder","");h.setAttribute("value","");h.hidden=!0;h.disabled=!0;h.selected=!0;k.innerHTML='\x3csvg xmlns\x3d"http://www.w3.org/2000/svg" width\x3d"16" height\x3d"16" viewBox\x3d"0 0 16 16" fill\x3d"none" stroke\x3d"currentColor" stroke-width\x3d"2" stroke-linecap\x3d"round" stroke-linejoin\x3d"round" aria-hidden\x3d"true"\x3e\x3cpolyline points\x3d"4 6 8 10 12 6"/\x3e\x3c/svg\x3e';
|
|
11
11
|
f.appendChild(h);e.appendChild(f);e.appendChild(k);c.appendChild(d);c.appendChild(e);c.appendChild(m);this.__xSelectRefs={root:c,wrapper:e,select:f,"placeholder-opt":h,slot:m,chevron:k}}fz(this);c=$APP.l(this,"__xSelectRefs");$APP.n(c)&&(d=$APP.l(c,"slot"),e=dz(this),f=ez(this),h={change:e,slotchange:f},$APP.l(c,"select").addEventListener("change",e),d.addEventListener("slotchange",f),this.__xSelectHandlers=h);cz(this);return bz(this)};b.disconnectedCallback=function(){return fz(this)};b.attributeChangedCallback=
|
|
12
|
-
function(){return bz(this)};return a},kz=function(){return $APP.n(customElements.get("x-select"))?null:customElements.define("x-select",jz())};var az=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null),iz="disabled required size placeholder value name".split(" ");$APP.wd(["select-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,2,[$APP.T,$APP.X,$APP.W,$APP.X],null)],null)]);$APP.ka("
|
|
12
|
+
function(){return bz(this)};return a},kz=function(){return $APP.n(customElements.get("x-select"))?null:customElements.define("x-select",jz())};var az=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null),iz="disabled required size placeholder value name".split(" ");$APP.wd(["select-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,2,[$APP.T,$APP.X,$APP.W,$APP.X],null)],null)]);$APP.ka("baredom.exports.x_select.init",kz);export const init=kz;
|
package/dist/x-sidebar.js
CHANGED
|
@@ -24,4 +24,4 @@ $APP.R.prototype.C=$APP.ca(3,function(){return $APP.Ua($APP.rf,this.s)});$APP.uf
|
|
|
24
24
|
nG.G=function(a){a=a instanceof $APP.Ib&&a.u===0?a.i:kG(a);var b=a.length;if(!$APP.Ac(b))throw Error(["Argument must be an integer: ",$APP.ta(b)].join(""));if((b&1)!==0)throw Error(["No value supplied for key: ",$APP.ta($APP.ic(a))].join(""));return $APP.wd(a)};nG.Y=0;nG.X=function(a){return this.G($APP.v(a))};
|
|
25
25
|
var OG=new $APP.K(null,"declared-variant","declared-variant",-2054964950),cH=new $APP.K(null,"collapsed","collapsed",-628494523),EG=new $APP.K(null,"viewport-width","viewport-width",-1146235948),KG=new $APP.K(null,"aria-hidden","aria-hidden",399337029),FG=new $APP.K(null,"prefers-reduced-motion","prefers-reduced-motion",-2023150975),NG=new $APP.K(null,"collapsed-requested","collapsed-requested",1573505800),CG=new $APP.K(null,"breakpoint-attr","breakpoint-attr",-250275627),BG=new $APP.K(null,"variant-attr",
|
|
26
26
|
"variant-attr",-1143729279),JG=new $APP.K(null,"effective-variant","effective-variant",-829495195),QG=new $APP.K(null,"reduced-motion","reduced-motion",79621277),PG=new $APP.K(null,"show-backdrop","show-backdrop",-532209910),MG=new $APP.K(null,"is-docked","is-docked",875310728),zG=new $APP.K(null,"collapsed-attr","collapsed-attr",-1535396832),RG=new $APP.K(null,"is-modal","is-modal",1610761086),AG=new $APP.K(null,"placement-attr","placement-attr",-1321967286),SG=new $APP.K(null,"is-overlay","is-overlay",
|
|
27
|
-
1953921119),DG=new $APP.K(null,"label-attr","label-attr",-571749887),yG=new $APP.K(null,"open-attr","open-attr",-1772289801),LG=new $APP.K(null,"collapsed-applied","collapsed-applied",-1696231706);var $G="open collapsed placement variant breakpoint label".split(" "),GG=$APP.sf(["right","left"]),IG=$APP.sf(["overlay","docked","modal"]),rG=$APP.sf(["backdrop","escape"]),HG=new $APP.P(null,6,[$APP.Ai,"left",$APP.Wg,"docked",$APP.Ph,768,$APP.W,"Sidebar",$APP.si,!1,cH,!1],null);$APP.wd(["toggle",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.si,$APP.Li],null)],null),"dismiss",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.xh,$APP.X],null)],null)]);$APP.ka("
|
|
27
|
+
1953921119),DG=new $APP.K(null,"label-attr","label-attr",-571749887),yG=new $APP.K(null,"open-attr","open-attr",-1772289801),LG=new $APP.K(null,"collapsed-applied","collapsed-applied",-1696231706);var $G="open collapsed placement variant breakpoint label".split(" "),GG=$APP.sf(["right","left"]),IG=$APP.sf(["overlay","docked","modal"]),rG=$APP.sf(["backdrop","escape"]),HG=new $APP.P(null,6,[$APP.Ai,"left",$APP.Wg,"docked",$APP.Ph,768,$APP.W,"Sidebar",$APP.si,!1,cH,!1],null);$APP.wd(["toggle",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.si,$APP.Li],null)],null),"dismiss",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.xh,$APP.X],null)],null)]);$APP.ka("baredom.exports.x_sidebar.init",bH);export const init=bH;
|
package/dist/x-skeleton.js
CHANGED
|
@@ -5,4 +5,4 @@ $APP.M(b);b=$APP.I(d,$APP.Wg);e=$APP.I(d,mz);c=$APP.I(d,$APP.Og);d=$APP.I(d,$APP
|
|
|
5
5
|
"string"&&$APP.N("",b)?this.setAttribute("width",b):this.removeAttribute("width")},enumerable:!0,configurable:!0});Object.defineProperty(a,"height",{get:function(){var b=this.getAttribute("height");return $APP.n(b)?b:""},set:function(b){return typeof b==="string"&&$APP.N("",b)?this.setAttribute("height",b):this.removeAttribute("height")},enumerable:!0,configurable:!0})},sz=function(){var a=class extends HTMLElement{};a.observedAttributes=rz;a.prototype.connectedCallback=function(){if(!$APP.n($APP.l(this,
|
|
6
6
|
"__xSkeletonInit"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div");c.textContent=":host{display:block;box-sizing:border-box;color-scheme:light dark;--x-skeleton-color:rgba(0,0,0,0.08);--x-skeleton-highlight:rgba(255,255,255,0.65);--x-skeleton-border-radius:4px;--x-skeleton-duration:1.5s;}@media (prefers-color-scheme:dark){:host{--x-skeleton-color:rgba(255,255,255,0.10);--x-skeleton-highlight:rgba(255,255,255,0.18);}}[part\x3dbase]{width:100%;height:1rem;position:relative;overflow:hidden;background:var(--x-skeleton-color);border-radius:var(--x-skeleton-border-radius);}[part\x3dbase][data-variant\x3d'text']{height:1em;border-radius:3px;}[part\x3dbase][data-variant\x3d'circle']{width:2.5rem;height:2.5rem;border-radius:50%;}[part\x3dshimmer]{position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,var(--x-skeleton-highlight) 50%,transparent 100%);transform:translateX(-100%);display:none;pointer-events:none;}@keyframes x-skeleton-pulse{0%,100%{opacity:1;}50%{opacity:0.4;}}@keyframes x-skeleton-wave{0%{transform:translateX(-100%);}100%{transform:translateX(200%);}}[part\x3dbase][data-animation\x3d'pulse']{animation:x-skeleton-pulse var(--x-skeleton-duration,1.5s) ease-in-out infinite;}[part\x3dbase][data-animation\x3d'wave'] [part\x3dshimmer]{display:block;animation:x-skeleton-wave var(--x-skeleton-duration,1.5s) linear infinite;}@media (prefers-reduced-motion:reduce){[part\x3dbase][data-animation\x3d'pulse']{animation:none;}[part\x3dbase][data-animation\x3d'wave'] [part\x3dshimmer]{animation:none;}}";
|
|
7
7
|
d.setAttribute("part","base");e.setAttribute("part","shimmer");d.appendChild(e);b.appendChild(c);b.appendChild(d);this.__xSkeletonBase=d;this.__xSkeletonInit=!0}pz(this);return null};a.prototype.disconnectedCallback=function(){return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&$APP.n($APP.l(this,"__xSkeletonInit"))&&pz(this);return null};qz(a.prototype);return a},tz=function(){$APP.n(customElements.get("x-skeleton"))||customElements.define("x-skeleton",sz());return null},
|
|
8
|
-
mz=new $APP.K(null,"animation","animation",-1248293244);var nz=new $APP.R(null,new $APP.P(null,3,["text",null,"rect",null,"circle",null],null),null),oz=new $APP.R(null,new $APP.P(null,3,["none",null,"pulse",null,"wave",null],null),null),rz=["variant","animation","width","height"];$APP.ka("
|
|
8
|
+
mz=new $APP.K(null,"animation","animation",-1248293244);var nz=new $APP.R(null,new $APP.P(null,3,["text",null,"rect",null,"circle",null],null),null),oz=new $APP.R(null,new $APP.P(null,3,["none",null,"pulse",null,"wave",null],null),null),rz=["variant","animation","width","height"];$APP.ka("baredom.exports.x_skeleton.init",tz);export const init=tz;
|
package/dist/x-slider.js
CHANGED
|
@@ -14,4 +14,4 @@ e.setAttribute("part","base");f.setAttribute("part","header");h.setAttribute("pa
|
|
|
14
14
|
"input"),d=vu(this),e=wu(this),f=xu(this),h={input:d,change:e,keydown:f},c.addEventListener("input",d),c.addEventListener("change",e),c.addEventListener("keydown",f),this.__xSliderHandlers=h);return tu(this)};b.disconnectedCallback=function(){return yu(this)};b.attributeChangedCallback=function(){return tu(this)};b.formDisabledCallback=function(c){ou(this,"disabled",$APP.J(c));return tu(this)};b.formResetCallback=function(){nu(this,"value",""+$APP.S.g(0));return tu(this)};return a},Du=function(){return $APP.n(customElements.get("x-slider"))?
|
|
15
15
|
null:customElements.define("x-slider",Cu())},ru=new $APP.K(null,"show-value?","show-value?",-1960833108),su=new $APP.K(null,"fill-percent","fill-percent",-1813848228),pu=new $APP.K(null,"step","step",1288888124);var qu=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null),Bu="value min max step disabled readonly name label show-value size aria-label aria-labelledby aria-describedby".split(" ");
|
|
16
16
|
$APP.bf([$APP.Vi,$APP.yi,$APP.Eg,$APP.ii,$APP.T,$APP.Ag,$APP.Bi,$APP.fh,$APP.W,pu],[new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"min"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"disabled"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"show-value"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"name"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"value"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"size"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"readonly"],null),new $APP.P(null,
|
|
17
|
-
2,[$APP.Z,$APP.X,$APP.Qg,"max"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"label"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"step"],null)]);$APP.wd(["x-slider-input",new $APP.P(null,1,[$APP.Y,new $APP.P(null,3,[$APP.T,$APP.Gh,$APP.Vi,$APP.Gh,$APP.fh,$APP.Gh],null)],null),"x-slider-change",new $APP.P(null,1,[$APP.Y,new $APP.P(null,3,[$APP.T,$APP.Gh,$APP.Vi,$APP.Gh,$APP.fh,$APP.Gh],null)],null)]);$APP.ka("
|
|
17
|
+
2,[$APP.Z,$APP.X,$APP.Qg,"max"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"label"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"step"],null)]);$APP.wd(["x-slider-input",new $APP.P(null,1,[$APP.Y,new $APP.P(null,3,[$APP.T,$APP.Gh,$APP.Vi,$APP.Gh,$APP.fh,$APP.Gh],null)],null),"x-slider-change",new $APP.P(null,1,[$APP.Y,new $APP.P(null,3,[$APP.T,$APP.Gh,$APP.Vi,$APP.Gh,$APP.fh,$APP.Gh],null)],null)]);$APP.ka("baredom.exports.x_slider.init",Du);export const init=Du;
|
package/dist/x-spacer.js
CHANGED
|
@@ -3,4 +3,4 @@ var xv=function(a){return a!=null&&$APP.N((""+$APP.S.g(a)).trim().toLowerCase(),
|
|
|
3
3
|
d=$APP.I(c,Bv);c=$APP.I(c,Cv);var e=a.style;a.setAttribute("data-axis",d);a.setAttribute("data-grow",$APP.n(c)?"true":"false");e.setProperty("--x-spacer-size",b);a.setAttribute("role","none");a.setAttribute("aria-hidden","true")},Ev=function(a,b,c){Object.defineProperty(a,b,{get:function(){var d=this.getAttribute(b);return $APP.n(d)?d:c},set:function(d){return d!=null?this.setAttribute(b,""+$APP.S.g(d)):this.removeAttribute(b)},enumerable:!0,configurable:!0})},Fv=function(a){Object.defineProperty(a,
|
|
4
4
|
"grow",{get:function(){return xv(this.getAttribute("grow"))},set:function(b){return $APP.n(b)?this.setAttribute("grow",""):this.removeAttribute("grow")},enumerable:!0,configurable:!0})},Gv=function(a){Ev(a,"size","1rem");Ev(a,"axis","vertical");Fv(a)},Iv=function(){var a=class extends HTMLElement{};a.observedAttributes=Hv;a.prototype.connectedCallback=function(){if(!$APP.n($APP.l(this,"__xSpacerRefs"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style");c.textContent=":host{display:block;flex-shrink:0;height:var(--x-spacer-size,1rem);width:0;pointer-events:none;}:host([data-axis\x3d'horizontal']){height:0;width:var(--x-spacer-size,1rem);}:host([data-grow\x3d'true']){flex:1 0 var(--x-spacer-size,0px);height:0;width:0;}";
|
|
5
5
|
b.appendChild(c);this.__xSpacerRefs={root:b}}Dv(this);return null};a.prototype.disconnectedCallback=function(){return null};a.prototype.attributeChangedCallback=function(b,c,d){b=$APP.N(c,d);$APP.n(b?$APP.l(this,"__xSpacerRefs"):b)&&Dv(this);return null};Gv(a.prototype);return a},Jv=function(){$APP.n(customElements.get("x-spacer"))||customElements.define("x-spacer",Iv());return null},Bv=new $APP.K(null,"axis","axis",-1215390822),Cv=new $APP.K(null,"grow?","grow?",2124334580),zv=new $APP.K(null,"grow-raw",
|
|
6
|
-
"grow-raw",441172903),yv=new $APP.K(null,"axis-raw","axis-raw",291213231);var Hv=["size","axis","grow"],Av=new $APP.R(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null);$APP.ka("
|
|
6
|
+
"grow-raw",441172903),yv=new $APP.K(null,"axis-raw","axis-raw",291213231);var Hv=["size","axis","grow"],Av=new $APP.R(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null);$APP.ka("baredom.exports.x_spacer.init",Jv);export const init=Jv;
|
package/dist/x-spinner.js
CHANGED
|
@@ -4,4 +4,4 @@ a.setAttribute("data-size",b);a.setAttribute("data-variant",c);a.setAttribute("a
|
|
|
4
4
|
""+$APP.S.g(b)):this.removeAttribute("variant")},enumerable:!0,configurable:!0});Object.defineProperty(a,"label",{get:function(){var b=this.getAttribute("label");return $APP.n(b)?b:"Loading"},set:function(b){return $APP.n(b)?this.setAttribute("label",""+$APP.S.g(b)):this.removeAttribute("label")},enumerable:!0,configurable:!0})},dG=function(){var a=class extends HTMLElement{};a.observedAttributes=cG;a.prototype.connectedCallback=function(){if(!$APP.n($APP.l(this,"__xSpinnerInit"))){var b=this.attachShadow({mode:"open"}),
|
|
5
5
|
c=document.createElement("style"),d=document.createElement("span");c.textContent=":host{display:inline-flex;align-items:center;justify-content:center;color-scheme:light dark;--x-spinner-size:24px;--x-spinner-color:currentColor;--x-spinner-track-color:rgba(0,0,0,0.12);--x-spinner-thickness:2px;--x-spinner-duration:0.75s;}@media (prefers-color-scheme:dark){:host{--x-spinner-track-color:rgba(255,255,255,0.15);}}:host([data-size\x3d'xs']){--x-spinner-size:16px;}:host([data-size\x3d'sm']){--x-spinner-size:20px;}:host([data-size\x3d'md']){--x-spinner-size:24px;}:host([data-size\x3d'lg']){--x-spinner-size:32px;}:host([data-size\x3d'xl']){--x-spinner-size:48px;}:host([data-variant\x3d'primary']){--x-spinner-color:#3b82f6;}:host([data-variant\x3d'success']){--x-spinner-color:#22c55e;}:host([data-variant\x3d'warning']){--x-spinner-color:#f59e0b;}:host([data-variant\x3d'danger']){--x-spinner-color:#ef4444;}[part\x3dring]{display:block;width:var(--x-spinner-size);height:var(--x-spinner-size);border-radius:50%;border:var(--x-spinner-thickness) solid var(--x-spinner-track-color);border-top-color:var(--x-spinner-color);box-sizing:border-box;animation:x-spinner-spin var(--x-spinner-duration) linear infinite;}@keyframes x-spinner-spin{to{transform:rotate(360deg);}}@media (prefers-reduced-motion:reduce){[part\x3dring]{animation-play-state:paused;}}";
|
|
6
6
|
d.setAttribute("part","ring");d.setAttribute("aria-hidden","true");b.appendChild(c);b.appendChild(d);this.setAttribute("role","status");this.setAttribute("aria-live","polite");this.__xSpinnerRing=d;this.__xSpinnerInit=!0}aG(this);return null};a.prototype.disconnectedCallback=function(){return null};a.prototype.attributeChangedCallback=function(b,c,d){b=$APP.N(c,d);$APP.n(b?$APP.l(this,"__xSpinnerInit"):b)&&aG(this);return null};bG(a.prototype);return a},eG=function(){$APP.n(customElements.get("x-spinner"))||
|
|
7
|
-
customElements.define("x-spinner",dG());return null};var cG=["size","variant","label"],ZF=new $APP.R(null,new $APP.P(null,5,["xs",null,"md",null,"lg",null,"xl",null,"sm",null],null),null),$F=new $APP.R(null,new $APP.P(null,5,["success",null,"warning",null,"primary",null,"danger",null,"default",null],null),null);$APP.ka("
|
|
7
|
+
customElements.define("x-spinner",dG());return null};var cG=["size","variant","label"],ZF=new $APP.R(null,new $APP.P(null,5,["xs",null,"md",null,"lg",null,"xl",null,"sm",null],null),null),$F=new $APP.R(null,new $APP.P(null,5,["success",null,"warning",null,"primary",null,"danger",null,"default",null],null),null);$APP.ka("baredom.exports.x_spinner.init",eG);export const init=eG;
|
package/dist/x-stat.js
CHANGED
|
@@ -7,4 +7,4 @@ k=document.createElement("div"),m=document.createElement("div"),q=document.creat
|
|
|
7
7
|
d.setAttribute("part","base");e.setAttribute("part","icon");f.setAttribute("part","body");h.setAttribute("part","label");k.setAttribute("part","value");m.setAttribute("part","hint");w.setAttribute("name","icon");z.setAttribute("name","label");A.setAttribute("name","value");C.setAttribute("name","hint");e.appendChild(w);h.appendChild(z);h.appendChild(q);k.appendChild(A);k.appendChild(r);m.appendChild(C);m.appendChild(u);f.appendChild(h);f.appendChild(k);f.appendChild(m);f.appendChild(F);d.appendChild(e);
|
|
8
8
|
d.appendChild(f);b.appendChild(c);b.appendChild(d);a.__x_stat_root=b;a.__x_stat_base=d;a.__x_stat_label=q;a.__x_stat_value=r;a.__x_stat_hint=u;a.__x_stat_initialized=!0}Wy(a);return a},Zy=function(){var a=class extends HTMLElement{};a.observedAttributes=Yy;a.prototype.connectedCallback=function(){return Xy(this)};a.prototype.attributeChangedCallback=function(){return $APP.l(this,"__x_stat_initialized")===!0?Wy(this):Xy(this)};return a},$y=function(){return $APP.n(customElements.get("x-stat"))?null:
|
|
9
9
|
customElements.define("x-stat",Zy())},Ky=new $APP.K(null,"emphasis","emphasis",293543451),Ry=new $APP.K(null,"aria-busy","aria-busy",793864247),Ly=new $APP.K(null,"trend","trend",54563841);var Yy="variant align size emphasis trend loading label value hint".split(" "),My=new $APP.R(null,new $APP.P(null,5,["warning",null,"positive",null,"subtle",null,"danger",null,"default",null],null),null),Ny=new $APP.R(null,new $APP.P(null,3,["center",null,"start",null,"end",null],null),null),Oy=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null),Py=new $APP.R(null,new $APP.P(null,2,["high",null,"normal",null],null),null),Qy=new $APP.R(null,new $APP.P(null,3,["neutral",null,
|
|
10
|
-
"up",null,"down",null],null),null);$APP.ka("
|
|
10
|
+
"up",null,"down",null],null),null);$APP.ka("baredom.exports.x_stat.init",$y);export const init=$y;
|
package/dist/x-stepper.js
CHANGED
|
@@ -14,4 +14,4 @@ b:c)&&c.removeEventListener("click",b))}a.__xStepperHandlers=null},nl=function(a
|
|
|
14
14
|
""+$APP.S.g(b|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"orientation",{get:function(){return Tk(Rk(this.getAttribute("orientation")))},set:function(b){return $APP.n(b)?this.setAttribute("orientation",""+$APP.S.g(b)):this.removeAttribute("orientation")},enumerable:!0,configurable:!0});Object.defineProperty(a,"size",{get:function(){return Yk(Wk(this.getAttribute("size")))},set:function(b){return $APP.n(b)?this.setAttribute("size",""+$APP.S.g(b)):this.removeAttribute("size")},enumerable:!0,
|
|
15
15
|
configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0})},pl=function(){var a=class extends HTMLElement{};a.observedAttributes=ol;a.prototype.connectedCallback=function(){al(this);ml(this);ll(this);jl(this);return null};a.prototype.disconnectedCallback=function(){ml(this);return null};a.prototype.attributeChangedCallback=
|
|
16
16
|
function(b,c,d){$APP.N(c,d)&&jl(this);return null};nl(a.prototype);return a},ql=function(){$APP.n(customElements.get("x-stepper"))||customElements.define("x-stepper",pl());return null},il=new $APP.K(null,"upcoming","upcoming",1873315471),el=new $APP.K(null,"current","current",-1088038603),bl=new $APP.K(null,"steps-raw","steps-raw",1741812533),Vk=new $APP.K(null,"md","md",707286655),rl=new $APP.K(null,"lg","lg",-80787836),Qk=new $APP.K(null,"horizontal","horizontal",2062109475),sl=new $APP.K(null,
|
|
17
|
-
"vertical","vertical",718696748),tl=new $APP.K(null,"sm","sm",-1402575065),kl=new $APP.K(null,"to","to",192099007),dl=new $APP.K(null,"steps","steps",-128433302),cl=new $APP.K(null,"current-raw","current-raw",-1440665509);var ol=["steps","current","orientation","size","disabled"];$APP.wd(["x-stepper-change",new $APP.P(null,2,[$APP.Y,new $APP.P(null,2,[$APP.Mg,$APP.Gh,kl,$APP.Gh],null),$APP.wi,!0],null)]);var Pk=new $APP.P(null,2,["horizontal",Qk,"vertical",sl],null),Sk=new $APP.P(null,2,[Qk,"horizontal",sl,"vertical"],null),Uk=new $APP.P(null,3,["sm",tl,"md",Vk,"lg",rl],null),Xk=new $APP.P(null,3,[tl,"sm",Vk,"md",rl,"lg"],null);$APP.ka("
|
|
17
|
+
"vertical","vertical",718696748),tl=new $APP.K(null,"sm","sm",-1402575065),kl=new $APP.K(null,"to","to",192099007),dl=new $APP.K(null,"steps","steps",-128433302),cl=new $APP.K(null,"current-raw","current-raw",-1440665509);var ol=["steps","current","orientation","size","disabled"];$APP.wd(["x-stepper-change",new $APP.P(null,2,[$APP.Y,new $APP.P(null,2,[$APP.Mg,$APP.Gh,kl,$APP.Gh],null),$APP.wi,!0],null)]);var Pk=new $APP.P(null,2,["horizontal",Qk,"vertical",sl],null),Sk=new $APP.P(null,2,[Qk,"horizontal",sl,"vertical"],null),Uk=new $APP.P(null,3,["sm",tl,"md",Vk,"lg",rl],null),Xk=new $APP.P(null,3,[tl,"sm",Vk,"md",rl,"lg"],null);$APP.ka("baredom.exports.x_stepper.init",ql);export const init=ql;
|
package/dist/x-switch.js
CHANGED
|
@@ -9,4 +9,4 @@ null&&$APP.N(d)?WA(this,c,""+$APP.S.g(d)):this.removeAttribute(c)}})},gB=functio
|
|
|
9
9
|
e=document.createElement("button"),f=document.createElement("span"),h=document.createElement("span");d.textContent=":host{display:inline-block;vertical-align:middle;color-scheme:light dark;--x-switch-track-width:44px;--x-switch-track-height:24px;--x-switch-thumb-size:18px;--x-switch-thumb-offset:3px;--x-switch-track-radius:999px;--x-switch-track-bg:#d1d5db;--x-switch-track-bg-checked:#2563eb;--x-switch-thumb-bg:#ffffff;--x-switch-focus-ring:#60a5fa;--x-switch-disabled-opacity:0.45;--x-switch-transition:background 150ms ease,transform 150ms ease;}@media (prefers-color-scheme:dark){:host{--x-switch-track-bg:#4b5563;--x-switch-track-bg-checked:#3b82f6;--x-switch-thumb-bg:#f9fafb;--x-switch-focus-ring:#93c5fd;}}[part\x3dcontrol]{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;padding:0;cursor:pointer;}[part\x3dcontrol][disabled]{cursor:default;opacity:var(--x-switch-disabled-opacity);}[part\x3dcontrol]:focus-visible{outline:none;box-shadow:0 0 0 3px var(--x-switch-focus-ring);border-radius:calc(var(--x-switch-track-radius) + 2px);}[part\x3dtrack]{position:relative;display:inline-block;width:var(--x-switch-track-width);height:var(--x-switch-track-height);border-radius:var(--x-switch-track-radius);background:var(--x-switch-track-bg);transition:background 150ms ease;flex-shrink:0;}:host([data-checked]) [part\x3dtrack]{background:var(--x-switch-track-bg-checked);}[part\x3dthumb]{position:absolute;top:var(--x-switch-thumb-offset);left:var(--x-switch-thumb-offset);width:var(--x-switch-thumb-size);height:var(--x-switch-thumb-size);border-radius:50%;background:var(--x-switch-thumb-bg);box-shadow:0 1px 3px rgba(0,0,0,0.25);transition:transform 150ms ease;}:host([data-checked]) [part\x3dthumb]{transform:translateX(calc(var(--x-switch-track-width) - var(--x-switch-thumb-size) - calc(var(--x-switch-thumb-offset) * 2)));}@media (prefers-reduced-motion:reduce){[part\x3dtrack]{transition:none;}[part\x3dthumb]{transition:none;}}";
|
|
10
10
|
e.setAttribute("part","control");e.setAttribute("type","button");e.setAttribute("role","switch");f.setAttribute("part","track");h.setAttribute("part","thumb");f.appendChild(h);e.appendChild(f);c.appendChild(d);c.appendChild(e);this.__xSwitchRefs={root:c,control:e,track:f,thumb:h};$APP.n(this.attachInternals)&&(this.__xSwitchInternals=this.attachInternals())}cB(this);c=$APP.l(this,"__xSwitchRefs");$APP.n(c)&&(c=$APP.l(c,"control"),d=aB(this),e=bB(this),f={click:d,keydown:e},c.addEventListener("click",
|
|
11
11
|
d),c.addEventListener("keydown",e),this.__xSwitchHandlers=f);d=this.getAttribute("id");$APP.n(d)&&(c=document.querySelector("label[for\x3d'"+$APP.S.g(d)+"']"),$APP.n(c)&&(e=c.getAttribute("id"),$APP.n(e)?c=e:(d="x-sw-lbl-"+$APP.S.g(d),c.setAttribute("id",d),c=d),d=$APP.l(this,"__xSwitchRefs"),$APP.n(d)&&$APP.l(d,"control").setAttribute("aria-labelledby",c)));return ZA(this)};b.disconnectedCallback=function(){return cB(this)};b.attributeChangedCallback=function(){return ZA(this)};b.formDisabledCallback=
|
|
12
|
-
function(c){XA(this,"disabled",$APP.J(c));return ZA(this)};b.formResetCallback=function(){this.removeAttribute("checked");return ZA(this)};return a},hB=function(){return $APP.n(customElements.get("x-switch"))?null:customElements.define("x-switch",gB())};var fB="checked disabled readonly required name value aria-label aria-describedby aria-labelledby".split(" ");$APP.wd(["x-switch-change-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,3,[$APP.T,$APP.X,$APP.Bg,$APP.Li,$APP.gi,$APP.Li],null)],null),"x-switch-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,2,[$APP.T,$APP.X,$APP.Si,$APP.Li],null)],null)]);$APP.ka("
|
|
12
|
+
function(c){XA(this,"disabled",$APP.J(c));return ZA(this)};b.formResetCallback=function(){this.removeAttribute("checked");return ZA(this)};return a},hB=function(){return $APP.n(customElements.get("x-switch"))?null:customElements.define("x-switch",gB())};var fB="checked disabled readonly required name value aria-label aria-describedby aria-labelledby".split(" ");$APP.wd(["x-switch-change-request",new $APP.P(null,2,[$APP.wi,!0,$APP.Y,new $APP.P(null,3,[$APP.T,$APP.X,$APP.Bg,$APP.Li,$APP.gi,$APP.Li],null)],null),"x-switch-change",new $APP.P(null,2,[$APP.wi,!1,$APP.Y,new $APP.P(null,2,[$APP.T,$APP.X,$APP.Si,$APP.Li],null)],null)]);$APP.ka("baredom.exports.x_switch.init",hB);export const init=hB;
|
package/dist/x-tab.js
CHANGED
|
@@ -6,4 +6,4 @@ $APP.Ah.g(b))}return null},uj=function(a){var b=rj(sj(a)),c=$APP.M(b);b=$APP.I(c
|
|
|
6
6
|
"__x_tab_initialized")!==!0){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("slot");c.textContent=":host{display:inline-block;color-scheme:light dark;outline:none;--x-tab-color:#0f172a;--x-tab-hover-background:rgba(15,23,42,0.05);--x-tab-selected-color:#1d4ed8;--x-tab-selected-background:rgba(59,130,246,0.12);--x-tab-selected-border-color:transparent;}@media (prefers-color-scheme:dark){:host{--x-tab-color:#94a3b8;--x-tab-hover-background:rgba(248,250,252,0.06);--x-tab-selected-color:#60a5fa;--x-tab-selected-background:rgba(59,130,246,0.18);--x-tab-selected-border-color:#60a5fa;}}.base{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;user-select:none;padding:var(--x-tab-padding-md,10px 16px);border-radius:var(--x-tab-radius,8px);color:var(--x-tab-color);background:var(--x-tab-background,transparent);border:1px solid var(--x-tab-border-color,transparent);transition:background var(--x-tab-transition-duration,120ms) ease,color var(--x-tab-transition-duration,120ms) ease,border-color var(--x-tab-transition-duration,120ms) ease;}.base[data-size\x3d'sm']{padding:var(--x-tab-padding-sm,6px 12px);}.base[data-size\x3d'md']{padding:var(--x-tab-padding-md,10px 16px);}.base[data-size\x3d'lg']{padding:var(--x-tab-padding-lg,14px 20px);}.base:hover{background:var(--x-tab-hover-background);}.base[data-selected\x3d'true']{color:var(--x-tab-selected-color);background:var(--x-tab-selected-background);border-color:var(--x-tab-selected-border-color);}.base[data-variant\x3d'underline'][data-selected\x3d'true']{border-bottom:2px solid var(--x-tab-selected-color);background:transparent;}.base[data-variant\x3d'pill'][data-selected\x3d'true']{background:var(--x-tab-selected-background);}.base[data-disabled\x3d'true']{opacity:var(--x-tab-disabled-opacity,0.5);cursor:default;}:host(:focus-visible) .base{box-shadow:0 0 0 3px var(--x-tab-focus-ring,rgba(59,130,246,0.4));}@media (prefers-reduced-motion: reduce){.base{transition:none;}}";
|
|
7
7
|
d.setAttribute("part","base");d.className="base";d.appendChild(e);b.appendChild(c);b.appendChild(d);a.__x_tab_root=b;a.__x_tab_base=d;vj(a);a.__x_tab_initialized=!0}tj(a);return a},xj=function(a){Object.defineProperty(a.prototype,"selected",{get:function(){return this.hasAttribute("selected")},set:function(b){return $APP.n(b)?this.setAttribute("selected",""):this.removeAttribute("selected")},configurable:!0,enumerable:!0});Object.defineProperty(a.prototype,"disabled",{get:function(){return this.hasAttribute("disabled")},
|
|
8
8
|
set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},configurable:!0,enumerable:!0});Object.defineProperty(a.prototype,"value",{get:function(){return this.getAttribute("value")},set:function(b){return $APP.n(b)?this.setAttribute("value",b):this.removeAttribute("value")},configurable:!0,enumerable:!0})},zj=function(){var a=class extends HTMLElement{};a.observedAttributes=yj;a.prototype.connectedCallback=function(){return wj(this)};a.prototype.attributeChangedCallback=
|
|
9
|
-
function(){return $APP.l(this,"__x_tab_initialized")===!0?tj(this):wj(this)};xj(a);return a},Aj=function(){return $APP.n(customElements.get("x-tab"))?null:customElements.define("x-tab",zj())},kj=new $APP.K(null,"controls","controls",1340701452);var yj="value selected disabled orientation size variant label controls".split(" "),lj=new $APP.R(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null),mj=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null),qj=new $APP.R(null,new $APP.P(null,3,["default",null,"underline",null,"pill",null],null),null);$APP.wd(["tab-select",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.T,$APP.X],null)],null)]);$APP.ka("
|
|
9
|
+
function(){return $APP.l(this,"__x_tab_initialized")===!0?tj(this):wj(this)};xj(a);return a},Aj=function(){return $APP.n(customElements.get("x-tab"))?null:customElements.define("x-tab",zj())},kj=new $APP.K(null,"controls","controls",1340701452);var yj="value selected disabled orientation size variant label controls".split(" "),lj=new $APP.R(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null),mj=new $APP.R(null,new $APP.P(null,3,["md",null,"lg",null,"sm",null],null),null),qj=new $APP.R(null,new $APP.P(null,3,["default",null,"underline",null,"pill",null],null),null);$APP.wd(["tab-select",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.T,$APP.X],null)],null)]);$APP.ka("baredom.exports.x_tab.init",Aj);export const init=Aj;
|
package/dist/x-table-cell.js
CHANGED
|
@@ -23,4 +23,4 @@ Ox=new $APP.K(null,"sort-icon-default","sort-icon-default",-596209230),Wx=new $A
|
|
|
23
23
|
$APP.bf([$APP.ei,py,new $APP.K(null,"truncate","truncate",-1327322939),$APP.yi,Xx,$APP.Z,Yx,oy,$APP.Rh,new $APP.K(null,"sortable","sortable",2109633621),new $APP.K(null,"sortDirection","sortDirection",-45816999)],[new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.Gh],null),new $APP.P(null,1,[$APP.Z,$APP.Li],null),new $APP.P(null,1,[$APP.Z,$APP.Li],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,
|
|
24
24
|
1,[$APP.Z,$APP.Gh],null),new $APP.P(null,1,[$APP.Z,$APP.X],null),new $APP.P(null,1,[$APP.Z,$APP.Li],null),new $APP.P(null,1,[$APP.Z,$APP.X],null)]);$APP.wd(["x-table-cell-sort",new $APP.P(null,2,[$APP.Y,new $APP.P(null,2,[$APP.ci,$APP.X,$APP.Ji,$APP.X],null),$APP.wi,!0],null),"x-table-cell-connected",new $APP.P(null,1,[$APP.Y,new $APP.P(null,5,[$APP.Z,$APP.X,Yx,$APP.X,oy,$APP.Gh,py,$APP.Gh,$APP.ei,$APP.X],null)],null),"x-table-cell-disconnected",new $APP.P(null,1,[$APP.Y,$APP.xd],null)]);
|
|
25
25
|
var dy=new $APP.R(null,new $APP.P(null,2,["data",null,"header",null],null),null),ey=new $APP.R(null,new $APP.P(null,4,["rowgroup",null,"col",null,"row",null,"colgroup",null],null),null),ay=new $APP.R(null,new $APP.P(null,3,["center",null,"start",null,"end",null],null),null),cy=new $APP.R(null,new $APP.P(null,3,["top",null,"middle",null,"bottom",null],null),null),fy=new $APP.R(null,new $APP.P(null,3,["none",null,"start",null,"end",null],null),null),by=new $APP.R(null,new $APP.P(null,3,["none",null,
|
|
26
|
-
"desc",null,"asc",null],null),null);$APP.ka("
|
|
26
|
+
"desc",null,"asc",null],null),null);$APP.ka("baredom.exports.x_table_cell.init",ry);export const init=ry;
|
package/dist/x-table-row.js
CHANGED
|
@@ -8,4 +8,4 @@ if($APP.n(b)){var c=$APP.l(b,"click");b=$APP.l(b,"keydown");$APP.n(c)&&a.removeE
|
|
|
8
8
|
set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"interactive",{get:function(){return this.hasAttribute("interactive")},set:function(b){return $APP.n(b)?this.setAttribute("interactive",""):this.removeAttribute("interactive")},enumerable:!0,configurable:!0});Object.defineProperty(a,"rowIndex",{get:function(){return Bp(this.getAttribute("row-index"))},set:function(b){b=parseInt(b,10);return $APP.p(isNaN(b))&&
|
|
9
9
|
b>0?this.setAttribute("row-index",""+$APP.S.g(b)):this.removeAttribute("row-index")},enumerable:!0,configurable:!0})},Op=function(){var a=class extends HTMLElement{};a.observedAttributes=Np;a.prototype.connectedCallback=function(){Ep(this);Lp(this);Kp(this);Ip(this);var b=$APP.l(this,"__xTableRowModel");var c=$APP.n(b)?b:Hp(this);b=this.dispatchEvent;var d=CustomEvent,e=$APP.M(c);c=$APP.I(e,$APP.Jh);var f=$APP.I(e,$APP.U),h=$APP.I(e,Cp);e=$APP.I(e,Gp);b.call(this,new d("x-table-row-connected",{detail:$APP.xg(new $APP.P(null,
|
|
10
10
|
4,[$APP.ti,$APP.n(e)?e:0,$APP.bj,c,$APP.yi,f,$APP.Sh,h],null)),bubbles:!0,composed:!0,cancelable:!1}));return null};a.prototype.disconnectedCallback=function(){Lp(this);document.dispatchEvent(new CustomEvent("x-table-row-disconnected",{detail:{},bubbles:!1,composed:!1,cancelable:!1}));return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&Ip(this);return null};Mp(a.prototype);return a},Pp=function(){$APP.n(customElements.get("x-table-row"))||customElements.define("x-table-row",
|
|
11
|
-
Op());return null},Cp=new $APP.K(null,"interactive?","interactive?",367617676),Gp=new $APP.K(null,"row-index","row-index",-828710296),Fp=new $APP.K(null,"row-index-raw","row-index-raw",1490649093);var Np=["selected","disabled","interactive","row-index"];$APP.wd(["x-table-row-click",new $APP.P(null,2,[$APP.Y,new $APP.P(null,3,[$APP.ti,$APP.Gh,$APP.bj,$APP.Li,$APP.yi,$APP.Li],null),$APP.wi,!0],null),"x-table-row-connected",new $APP.P(null,2,[$APP.Y,new $APP.P(null,4,[$APP.ti,$APP.Gh,$APP.bj,$APP.Li,$APP.yi,$APP.Li,$APP.Sh,$APP.Li],null),$APP.wi,!1],null),"x-table-row-disconnected",new $APP.P(null,2,[$APP.Y,$APP.xd,$APP.wi,!1],null)]);$APP.ka("
|
|
11
|
+
Op());return null},Cp=new $APP.K(null,"interactive?","interactive?",367617676),Gp=new $APP.K(null,"row-index","row-index",-828710296),Fp=new $APP.K(null,"row-index-raw","row-index-raw",1490649093);var Np=["selected","disabled","interactive","row-index"];$APP.wd(["x-table-row-click",new $APP.P(null,2,[$APP.Y,new $APP.P(null,3,[$APP.ti,$APP.Gh,$APP.bj,$APP.Li,$APP.yi,$APP.Li],null),$APP.wi,!0],null),"x-table-row-connected",new $APP.P(null,2,[$APP.Y,new $APP.P(null,4,[$APP.ti,$APP.Gh,$APP.bj,$APP.Li,$APP.yi,$APP.Li,$APP.Sh,$APP.Li],null),$APP.wi,!1],null),"x-table-row-disconnected",new $APP.P(null,2,[$APP.Y,$APP.xd,$APP.wi,!1],null)]);$APP.ka("baredom.exports.x_table_row.init",Pp);export const init=Pp;
|
package/dist/x-table.js
CHANGED
|
@@ -13,4 +13,4 @@ d);a.addEventListener("x-table-row-click",c);a.addEventListener("x-table-row-con
|
|
|
13
13
|
set:function(b){return $APP.n(b)?this.setAttribute("bordered",""):this.removeAttribute("bordered")},enumerable:!0,configurable:!0});Object.defineProperty(a,"compact",{get:function(){return this.hasAttribute("compact")},set:function(b){return $APP.n(b)?this.setAttribute("compact",""):this.removeAttribute("compact")},enumerable:!0,configurable:!0});Object.defineProperty(a,"fullWidth",{get:function(){return this.hasAttribute("full-width")},set:function(b){return $APP.n(b)?this.setAttribute("full-width",
|
|
14
14
|
""):this.removeAttribute("full-width")},enumerable:!0,configurable:!0});Object.defineProperty(a,"rowCount",{get:function(){return ws(this.getAttribute("row-count"))},set:function(b){return b==null?this.removeAttribute("row-count"):this.setAttribute("row-count",""+$APP.S.g(Math.floor(b)))},enumerable:!0,configurable:!0})},Ts=function(){var a=class extends HTMLElement{};a.observedAttributes=Ss;a.prototype.connectedCallback=function(){ys(this);Qs(this);Ps(this);Ms(this);return null};a.prototype.disconnectedCallback=
|
|
15
15
|
function(){Qs(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&Ms(this);return null};Rs(a.prototype);return a},Us=function(){$APP.n(customElements.get("x-table"))||customElements.define("x-table",Ts());return null},Is=new $APP.K(null,"selectable","selectable",370587038),Ds=new $APP.K(null,"full-width?","full-width?",1477288349),Fs=new $APP.K(null,"row-count-raw","row-count-raw",-1432781274),Bs=new $APP.K(null,"selectable-raw","selectable-raw",-1276314763),Os=new $APP.K(null,
|
|
16
|
-
"colIndex","colIndex",171239635),Hs=new $APP.K(null,"caption","caption",-855383902),Cs=new $APP.K(null,"bordered?","bordered?",562358476),Js=new $APP.K(null,"row-count","row-count",1060167988),xs=new $APP.K(null,"caption-div","caption-div",1485363333),As=new $APP.K(null,"caption-raw","caption-raw",-375935083),Ns=new $APP.K(null,"selectionMode","selectionMode",1264773367),zs=new $APP.K(null,"columns-raw","columns-raw",-2093994046),Es=new $APP.K(null,"compact?","compact?",1216893298);var Ss="columns caption selectable striped bordered full-width compact row-count".split(" ");$APP.wd(["x-table-sort",new $APP.P(null,2,[$APP.Y,new $APP.P(null,3,[Os,$APP.Gh,$APP.ci,$APP.X,$APP.Ji,$APP.X],null),$APP.wi,!0],null),"x-table-row-select",new $APP.P(null,2,[$APP.Y,new $APP.P(null,3,[$APP.ti,$APP.Gh,$APP.bj,$APP.Li,Ns,$APP.X],null),$APP.wi,!0],null)]);var Gs=new $APP.R(null,new $APP.P(null,3,["none",null,"single",null,"multi",null],null),null);$APP.ka("
|
|
16
|
+
"colIndex","colIndex",171239635),Hs=new $APP.K(null,"caption","caption",-855383902),Cs=new $APP.K(null,"bordered?","bordered?",562358476),Js=new $APP.K(null,"row-count","row-count",1060167988),xs=new $APP.K(null,"caption-div","caption-div",1485363333),As=new $APP.K(null,"caption-raw","caption-raw",-375935083),Ns=new $APP.K(null,"selectionMode","selectionMode",1264773367),zs=new $APP.K(null,"columns-raw","columns-raw",-2093994046),Es=new $APP.K(null,"compact?","compact?",1216893298);var Ss="columns caption selectable striped bordered full-width compact row-count".split(" ");$APP.wd(["x-table-sort",new $APP.P(null,2,[$APP.Y,new $APP.P(null,3,[Os,$APP.Gh,$APP.ci,$APP.X,$APP.Ji,$APP.X],null),$APP.wi,!0],null),"x-table-row-select",new $APP.P(null,2,[$APP.Y,new $APP.P(null,3,[$APP.ti,$APP.Gh,$APP.bj,$APP.Li,Ns,$APP.X],null),$APP.wi,!0],null)]);var Gs=new $APP.R(null,new $APP.P(null,3,["none",null,"single",null,"multi",null],null),null);$APP.ka("baredom.exports.x_table.init",Us);export const init=Us;
|
package/dist/x-tabs.js
CHANGED
|
@@ -9,4 +9,4 @@ new MutationObserver(function(){return Qt(a)});b.observe(a,{childList:!0,subtree
|
|
|
9
9
|
$APP.D.h(m,"ArrowDown")?Ot(q,e,f):$APP.D.h(h,"vertical")&&$APP.D.h(m,"ArrowUp")?Pt(q,e,f):$APP.D.h(m,"Home")?0:$APP.D.h(m,"End")?$APP.B(e)-1:null,h!=null)){d.preventDefault();d=$APP.H(e,h,null);$APP.n(d)?d.focus():d=null;k=$APP.n(d)?$APP.D.h(k,"auto")?Nt(a,Gt(d)):null:null;break a}k=null}return k}function c(d){d.stopPropagation();return Nt(a,d.detail.value)}a.addEventListener("tab-select",c);a.addEventListener("keydown",b);a.__x_tabs_on_tab_select=c;a.__x_tabs_on_keydown=b;Rt(a)},Tt=function(a){Object.defineProperty(a.prototype,
|
|
10
10
|
"value",{get:function(){return this.getAttribute("value")},set:function(b){return $APP.n(b)?this.setAttribute("value",b):this.removeAttribute("value")},configurable:!0,enumerable:!0})},Vt=function(){var a=class extends HTMLElement{};a.observedAttributes=Ut;a.prototype.connectedCallback=function(){if(Ct(this)){St(this);var b=Qt(this)}else{if(!Ct(this)){b=this.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("slot");c.textContent=
|
|
11
11
|
":host{display:block;color-scheme:light dark;}.base{display:block;}::slotted(x-tab){margin-inline-end:var(--x-tabs-gap,8px);}";d.setAttribute("part","base");d.className="base";d.appendChild(e);b.appendChild(c);b.appendChild(d);this.__x_tabs_root=b;this.__x_tabs_base=d;this.__x_tabs_slot=e;St(this);this.__x_tabs_initialized=!0}Qt(this);b=this}return b};a.prototype.disconnectedCallback=function(){var b=$APP.l(this,"__x_tabs_on_tab_select");$APP.n(b)&&this.removeEventListener("tab-select",b);b=$APP.l(this,
|
|
12
|
-
"__x_tabs_on_keydown");$APP.n(b)&&this.removeEventListener("keydown",b);b=$APP.l(this,"__x_tabs_observer");return $APP.n(b)?b.disconnect():null};a.prototype.attributeChangedCallback=function(){return Ct(this)?Qt(this):null};Tt(a);return a},Wt=function(){return $APP.n(customElements.get("x-tabs"))?null:customElements.define("x-tabs",Vt())},xt=new $APP.K(null,"activation","activation",2128521072),yt=new $APP.K(null,"loop","loop",-395552849);var Ut=["value","orientation","activation","label","loop"],zt=new $APP.R(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null),At=new $APP.R(null,new $APP.P(null,2,["auto",null,"manual",null],null),null);$APP.wd(["value-change",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.T,$APP.X],null)],null)]);$APP.ka("
|
|
12
|
+
"__x_tabs_on_keydown");$APP.n(b)&&this.removeEventListener("keydown",b);b=$APP.l(this,"__x_tabs_observer");return $APP.n(b)?b.disconnect():null};a.prototype.attributeChangedCallback=function(){return Ct(this)?Qt(this):null};Tt(a);return a},Wt=function(){return $APP.n(customElements.get("x-tabs"))?null:customElements.define("x-tabs",Vt())},xt=new $APP.K(null,"activation","activation",2128521072),yt=new $APP.K(null,"loop","loop",-395552849);var Ut=["value","orientation","activation","label","loop"],zt=new $APP.R(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null),At=new $APP.R(null,new $APP.P(null,2,["auto",null,"manual",null],null),null);$APP.wd(["value-change",new $APP.P(null,1,[$APP.Y,new $APP.P(null,1,[$APP.T,$APP.X],null)],null)]);$APP.ka("baredom.exports.x_tabs.init",Wt);export const init=Wt;
|
package/dist/x-text-area.js
CHANGED
|
@@ -17,4 +17,4 @@ $APP.l(this,"__xTextAreaRefs");$APP.n(c)&&(c=$APP.l(c,"textarea"),d=PF(this),e=Q
|
|
|
17
17
|
"disabled",$APP.J(c));return NF(this)};b.formResetCallback=function(){this.removeAttribute("value");var c=$APP.l(this,"__xTextAreaRefs");$APP.n(c)&&($APP.l(c,"textarea").value="");c=$APP.l(this,"__xTextAreaInternals");$APP.n(c)&&c.setFormValue("");return NF(this)};return a},YF=function(){return $APP.n(customElements.get("x-text-area"))?null:customElements.define("x-text-area",XF())},KF=new $APP.K(null,"minlength","minlength",259053545),IF=new $APP.K(null,"minlength-raw","minlength-raw",-1245403779),
|
|
18
18
|
HF=new $APP.K(null,"maxlength-raw","maxlength-raw",-886656470),FF=new $APP.K(null,"resize-raw","resize-raw",-287517888),MF=new $APP.K(null,"maxlength","maxlength",-1163911985),GF=new $APP.K(null,"rows-raw","rows-raw",-1828357145),LF=new $APP.K(null,"resize","resize",297367086);var WF="label name value placeholder hint error disabled readonly required rows maxlength minlength autocomplete resize".split(" "),JF=new $APP.R(null,new $APP.P(null,4,["none",null,"vertical",null,"both",null,"horizontal",null],null),null);
|
|
19
19
|
$APP.bf([$APP.yi,$APP.ii,$APP.T,new $APP.K(null,"minLength","minLength",-1538722770),$APP.Xh,$APP.Bi,new $APP.K(null,"maxLength","maxLength",-1633020073),$APP.oi,$APP.Ng],[new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"disabled"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"name"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"value"],null),new $APP.P(null,2,[$APP.Z,$APP.Gh,$APP.Qg,"minlength"],null),new $APP.P(null,2,[$APP.Z,$APP.Gh,$APP.Qg,"rows"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,
|
|
20
|
-
"readonly"],null),new $APP.P(null,2,[$APP.Z,$APP.Gh,$APP.Qg,"maxlength"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"autocomplete"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"required"],null)]);$APP.ka("
|
|
20
|
+
"readonly"],null),new $APP.P(null,2,[$APP.Z,$APP.Gh,$APP.Qg,"maxlength"],null),new $APP.P(null,2,[$APP.Z,$APP.X,$APP.Qg,"autocomplete"],null),new $APP.P(null,2,[$APP.Z,$APP.Li,$APP.Qg,"required"],null)]);$APP.ka("baredom.exports.x_text_area.init",YF);export const init=YF;
|
package/dist/x-timeline-item.js
CHANGED
|
@@ -22,4 +22,4 @@ dk=new $APP.K(null,"marker","marker",865118313),Uj=new $APP.K(null,"connector","
|
|
|
22
22
|
Rj=new $APP.K(null,"data-last?","data-last?",-1110326839),ck=new $APP.K(null,"label-text","label-text",-1566972381),Oj=new $APP.K(null,"data-striped?","data-striped?",906911587),Qj=new $APP.K(null,"data-position-raw","data-position-raw",256144356),lk=new $APP.K(null,"actions-el","actions-el",1486248509),jk=new $APP.K(null,"content-col","content-col",767367449),pk=new $APP.K(null,"dashed","dashed",-1449249319),Nj=new $APP.K(null,"data-index-raw","data-index-raw",491574874),kk=new $APP.K(null,"item-div",
|
|
23
23
|
"item-div",1630512700),Ak=new $APP.K(null,"active","active",1895962068),Vj=new $APP.K(null,"data-index","data-index",1161508385),mk=new $APP.K(null,"label-slot","label-slot",-1755862561),qk=new $APP.K(null,"none","none",1333468478),Yj=new $APP.K(null,"marker-aria","marker-aria",-353426855);var xk="label title status icon connector position disabled data-last data-index data-position data-striped".split(" ");
|
|
24
24
|
$APP.wd(["x-timeline-item-connected",new $APP.P(null,2,[$APP.Y,new $APP.P(null,4,[$APP.Gg,$APP.X,$APP.W,$APP.X,$APP.aj,$APP.X,$APP.yi,$APP.Li],null),$APP.wi,!1],null),"x-timeline-item-disconnected",new $APP.P(null,2,[$APP.Y,new $APP.P(null,2,[$APP.Gg,$APP.X,$APP.W,$APP.X],null),$APP.wi,!1],null),"x-timeline-item-click",new $APP.P(null,2,[$APP.Y,new $APP.P(null,2,[$APP.Gg,$APP.X,$APP.W,$APP.X],null),$APP.wi,!0],null)]);
|
|
25
|
-
var Bj=new $APP.P(null,5,["pending",$APP.Zg,"active",Ak,"complete",$APP.Qi,"error",$APP.qh,"warning",$APP.ui],null),Dj=new $APP.P(null,5,[$APP.Zg,"pending",Ak,"active",$APP.Qi,"complete",$APP.qh,"error",$APP.ui,"warning"],null),Tj=new $APP.P(null,5,[$APP.Zg,"○",Ak,"●",$APP.Qi,"✓",$APP.qh,"✕",$APP.ui,"!"],null),Fj=new $APP.P(null,3,["solid",Gj,"dashed",pk,"none",qk],null),Kj=new $APP.P(null,2,["start",$APP.zi,"end",$APP.uh],null);$APP.ka("
|
|
25
|
+
var Bj=new $APP.P(null,5,["pending",$APP.Zg,"active",Ak,"complete",$APP.Qi,"error",$APP.qh,"warning",$APP.ui],null),Dj=new $APP.P(null,5,[$APP.Zg,"pending",Ak,"active",$APP.Qi,"complete",$APP.qh,"error",$APP.ui,"warning"],null),Tj=new $APP.P(null,5,[$APP.Zg,"○",Ak,"●",$APP.Qi,"✓",$APP.qh,"✕",$APP.ui,"!"],null),Fj=new $APP.P(null,3,["solid",Gj,"dashed",pk,"none",qk],null),Kj=new $APP.P(null,2,["start",$APP.zi,"end",$APP.uh],null);$APP.ka("baredom.exports.x_timeline_item.init",zk);export const init=zk;
|
package/dist/x-timeline.js
CHANGED
|
@@ -7,4 +7,4 @@ e=e.detail;typeof f==="string"?(f=parseInt(f,10),f=$APP.n(isNaN(f))?null:f):f=nu
|
|
|
7
7
|
b);$APP.ma(a,"__xTimelineHandlers",{"item-connected":d,"item-click":c,"item-disconnected-doc":b})},hE=function(a){var b=$APP.l(a,"__xTimelineHandlers");if($APP.n(b)){var c=$APP.l(b,"item-connected"),d=$APP.l(b,"item-click");b=$APP.l(b,"item-disconnected-doc");$APP.n(c)&&a.removeEventListener("x-timeline-item-connected",c);$APP.n(d)&&a.removeEventListener("x-timeline-item-click",d);$APP.n(b)&&document.removeEventListener("x-timeline-item-disconnected",b)}a.__xTimelineHandlers=null},iE=function(a){Object.defineProperty(a,
|
|
8
8
|
"label",{get:function(){var b=this.getAttribute("label");return $APP.n(b)?b:""},set:function(b){return $APP.n($APP.n(b)?$APP.N(b,""):b)?this.setAttribute("label",""+$APP.S.g(b)):this.removeAttribute("label")},enumerable:!0,configurable:!0});Object.defineProperty(a,"position",{get:function(){return $D(this.getAttribute("position"))},set:function(b){return $APP.n(b)?this.setAttribute("position",""+$APP.S.g(b)):this.removeAttribute("position")},enumerable:!0,configurable:!0});Object.defineProperty(a,
|
|
9
9
|
"striped",{get:function(){return this.hasAttribute("striped")},set:function(b){return $APP.n(b)?this.setAttribute("striped",""):this.removeAttribute("striped")},enumerable:!0,configurable:!0})},kE=function(){var a=class extends HTMLElement{};a.observedAttributes=jE;a.prototype.connectedCallback=function(){cE(this);eE(this);hE(this);gE(this);fE(this);return null};a.prototype.disconnectedCallback=function(){hE(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&(eE(this),
|
|
10
|
-
fE(this));return null};iE(a.prototype);return a},lE=function(){$APP.n(customElements.get("x-timeline"))||customElements.define("x-timeline",kE());return null},bE=new $APP.K(null,"label-div","label-div",1505730697);var jE=["label","position","striped"];$APP.wd(["x-timeline-select",new $APP.P(null,2,[$APP.Y,new $APP.P(null,3,[$APP.Vg,$APP.Gh,$APP.Gg,$APP.X,$APP.W,$APP.X],null),$APP.wi,!1],null)]);var ZD=new $APP.R(null,new $APP.P(null,3,["start",null,"end",null,"alternating",null],null),null);$APP.ka("
|
|
10
|
+
fE(this));return null};iE(a.prototype);return a},lE=function(){$APP.n(customElements.get("x-timeline"))||customElements.define("x-timeline",kE());return null},bE=new $APP.K(null,"label-div","label-div",1505730697);var jE=["label","position","striped"];$APP.wd(["x-timeline-select",new $APP.P(null,2,[$APP.Y,new $APP.P(null,3,[$APP.Vg,$APP.Gh,$APP.Gg,$APP.X,$APP.W,$APP.X],null),$APP.wi,!1],null)]);var ZD=new $APP.R(null,new $APP.P(null,3,["start",null,"end",null,"alternating",null],null),null);$APP.ka("baredom.exports.x_timeline.init",lE);export const init=lE;
|
package/dist/x-toast.js
CHANGED
|
@@ -23,4 +23,4 @@ enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function
|
|
|
23
23
|
"showProgress",{get:function(){return cm(this.getAttribute("show-progress"))},set:function(b){return $APP.n(b)?this.setAttribute("show-progress",""):this.removeAttribute("show-progress")},enumerable:!0,configurable:!0})},Gm=function(a){a.dismiss=function(b){var c=$APP.p($APP.l(this,"__xToastExiting"));$APP.n(c?this.isConnected:c)&&Am(this,typeof b==="string"?b:"api");return null}},Im=function(){var a=class extends HTMLElement{};a.observedAttributes=Hm;a.prototype.connectedCallback=function(){qm(this);
|
|
24
24
|
Em(this);Dm(this);tm(this);zm(this);ym(this);return null};a.prototype.disconnectedCallback=function(){Em(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&(tm(this),$APP.n(this.isConnected)&&ym(this));return null};Fm(a.prototype);Gm(a.prototype);return a},Jm=function(){$APP.n(customElements.get("x-toast"))||customElements.define("x-toast",Im());return null},pm=new $APP.K(null,"heading-el","heading-el",-1277272161),nm=new $APP.K(null,"inner","inner",-1383171215),
|
|
25
25
|
om=new $APP.K(null,"progress-el","progress-el",-184081515),mm=new $APP.K(null,"message-el","message-el",-683533234),gm=new $APP.K(null,"show-progress?","show-progress?",-1681518912),lm=new $APP.K(null,"progress-bar","progress-bar",-123877022),fm=new $APP.K(null,"show-progress-attr","show-progress-attr",1680262066);var Hm="type heading message icon dismissible disabled timeout-ms show-progress".split(" ");$APP.wd(["x-toast-dismiss",new $APP.P(null,2,[$APP.Y,new $APP.P(null,4,[$APP.Z,$APP.X,$APP.xh,$APP.X,$APP.Lh,$APP.X,$APP.Lg,$APP.X],null),$APP.wi,!0],null)]);
|
|
26
|
-
var Yl=new $APP.P(null,4,["info",$APP.yh,"success",$APP.Sg,"warning",$APP.ui,"error",$APP.qh],null),$l=new $APP.P(null,4,[$APP.yh,"info",$APP.Sg,"success",$APP.ui,"warning",$APP.qh,"error"],null),sm=new $APP.P(null,4,[$APP.yh,"ℹ",$APP.Sg,"✓",$APP.ui,"!",$APP.qh,"⨯"],null);$APP.ka("
|
|
26
|
+
var Yl=new $APP.P(null,4,["info",$APP.yh,"success",$APP.Sg,"warning",$APP.ui,"error",$APP.qh],null),$l=new $APP.P(null,4,[$APP.yh,"info",$APP.Sg,"success",$APP.ui,"warning",$APP.qh,"error"],null),sm=new $APP.P(null,4,[$APP.yh,"ℹ",$APP.Sg,"✓",$APP.ui,"!",$APP.qh,"⨯"],null);$APP.ka("baredom.exports.x_toast.init",Jm);export const init=Jm;
|
package/dist/x-toaster.js
CHANGED
|
@@ -6,4 +6,4 @@ e=a.dispatchEvent(e);$APP.n(e)&&c.target.dismiss("toaster-remove")}return null}a
|
|
|
6
6
|
""+$APP.S.g(b)):this.removeAttribute("position")},enumerable:!0,configurable:!0});Object.defineProperty(a,"label",{get:function(){var b=this.getAttribute("label");return $APP.n(b)?b:"Notifications"},set:function(b){return $APP.n($APP.n(b)?$APP.N(b,""):b)?this.setAttribute("label",""+$APP.S.g(b)):this.removeAttribute("label")},enumerable:!0,configurable:!0});Object.defineProperty(a,"maxToasts",{get:function(){var b=to(this.getAttribute("max-toasts"));return $APP.n(b)?b:5},set:function(b){return b==
|
|
7
7
|
null?this.removeAttribute("max-toasts"):this.setAttribute("max-toasts",""+$APP.S.g(Math.floor(b)))},enumerable:!0,configurable:!0});Object.defineProperty(a,"toast",{value:function(b){b=$APP.n(b)?b:{};var c=$APP.l(this,"__xToasterModel");c=$APP.n(c)?c:yo(this);var d=xo.g(c);c=this.querySelectorAll("x-toast");var e=c.length;if(e>=d)for(d=e-d- -1,e=0;;)if(e<d)c[e].dismiss("toaster-remove"),e+=1;else break;c=document.createElement("x-toast");d=$APP.l(b,"type");$APP.n(d)&&c.setAttribute("type",d);d=$APP.l(b,
|
|
8
8
|
"heading");$APP.n(d)&&c.setAttribute("heading",d);d=$APP.l(b,"message");$APP.n(d)&&c.setAttribute("message",d);d=$APP.l(b,"icon");$APP.n(d)&&c.setAttribute("icon",d);$APP.l(b,"dismissible")===!1&&c.setAttribute("dismissible","false");d=$APP.l(b,"timeoutMs");$APP.n(d)&&c.setAttribute("timeout-ms",""+$APP.S.g(d));$APP.n($APP.l(b,"showProgress"))&&c.setAttribute("show-progress","");this.appendChild(c);return c},writable:!0,configurable:!0})},Eo=function(){var a=class extends HTMLElement{};a.observedAttributes=
|
|
9
|
-
Do;a.prototype.connectedCallback=function(){vo(this);Bo(this);Ao(this);zo(this);return null};a.prototype.disconnectedCallback=function(){Bo(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&zo(this);return null};Co(a);return a},Fo=function(){$APP.n(customElements.get("x-toaster"))||customElements.define("x-toaster",Eo());return null},xo=new $APP.K(null,"max-toasts","max-toasts",-1982289139),wo=new $APP.K(null,"max-toasts-raw","max-toasts-raw",-815087069);var Do=["position","max-toasts","label"];$APP.wd(["x-toaster-dismiss",new $APP.P(null,2,[$APP.Y,new $APP.P(null,4,[$APP.Z,$APP.X,$APP.xh,$APP.X,$APP.Lh,$APP.X,$APP.Lg,$APP.X],null),$APP.wi,!0],null)]);var ro=new $APP.R(null,new $APP.P(null,6,["top-center",null,"bottom-start",null,"bottom-end",null,"bottom-center",null,"top-end",null,"top-start",null],null),null);var uo=":host{display:flex;position:fixed;z-index:var(--x-toaster-z-index,9000);gap:var(--x-toaster-gap,8px);width:max-content;max-width:var(--x-toaster-max-width,480px);box-sizing:border-box;pointer-events:none;color-scheme:light dark;}::slotted("+$APP.S.g("x-toast")+"){pointer-events:auto;}slot{display:contents;}:host([data-position\x3d'top-start']){top:var(--x-toaster-inset,16px);inset-inline-start:var(--x-toaster-inset,16px);flex-direction:column-reverse;}:host([data-position\x3d'top-center']){top:var(--x-toaster-inset,16px);left:50%;transform:translateX(-50%);flex-direction:column-reverse;align-items:center;}:host([data-position\x3d'top-end']){top:var(--x-toaster-inset,16px);inset-inline-end:var(--x-toaster-inset,16px);flex-direction:column-reverse;}:host([data-position\x3d'bottom-start']){bottom:var(--x-toaster-inset,16px);inset-inline-start:var(--x-toaster-inset,16px);flex-direction:column;}:host([data-position\x3d'bottom-center']){bottom:var(--x-toaster-inset,16px);left:50%;transform:translateX(-50%);flex-direction:column;align-items:center;}:host([data-position\x3d'bottom-end']){bottom:var(--x-toaster-inset,16px);inset-inline-end:var(--x-toaster-inset,16px);flex-direction:column;}";$APP.ka("
|
|
9
|
+
Do;a.prototype.connectedCallback=function(){vo(this);Bo(this);Ao(this);zo(this);return null};a.prototype.disconnectedCallback=function(){Bo(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&zo(this);return null};Co(a);return a},Fo=function(){$APP.n(customElements.get("x-toaster"))||customElements.define("x-toaster",Eo());return null},xo=new $APP.K(null,"max-toasts","max-toasts",-1982289139),wo=new $APP.K(null,"max-toasts-raw","max-toasts-raw",-815087069);var Do=["position","max-toasts","label"];$APP.wd(["x-toaster-dismiss",new $APP.P(null,2,[$APP.Y,new $APP.P(null,4,[$APP.Z,$APP.X,$APP.xh,$APP.X,$APP.Lh,$APP.X,$APP.Lg,$APP.X],null),$APP.wi,!0],null)]);var ro=new $APP.R(null,new $APP.P(null,6,["top-center",null,"bottom-start",null,"bottom-end",null,"bottom-center",null,"top-end",null,"top-start",null],null),null);var uo=":host{display:flex;position:fixed;z-index:var(--x-toaster-z-index,9000);gap:var(--x-toaster-gap,8px);width:max-content;max-width:var(--x-toaster-max-width,480px);box-sizing:border-box;pointer-events:none;color-scheme:light dark;}::slotted("+$APP.S.g("x-toast")+"){pointer-events:auto;}slot{display:contents;}:host([data-position\x3d'top-start']){top:var(--x-toaster-inset,16px);inset-inline-start:var(--x-toaster-inset,16px);flex-direction:column-reverse;}:host([data-position\x3d'top-center']){top:var(--x-toaster-inset,16px);left:50%;transform:translateX(-50%);flex-direction:column-reverse;align-items:center;}:host([data-position\x3d'top-end']){top:var(--x-toaster-inset,16px);inset-inline-end:var(--x-toaster-inset,16px);flex-direction:column-reverse;}:host([data-position\x3d'bottom-start']){bottom:var(--x-toaster-inset,16px);inset-inline-start:var(--x-toaster-inset,16px);flex-direction:column;}:host([data-position\x3d'bottom-center']){bottom:var(--x-toaster-inset,16px);left:50%;transform:translateX(-50%);flex-direction:column;align-items:center;}:host([data-position\x3d'bottom-end']){bottom:var(--x-toaster-inset,16px);inset-inline-end:var(--x-toaster-inset,16px);flex-direction:column;}";$APP.ka("baredom.exports.x_toaster.init",Fo);export const init=Fo;
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"publishConfig" : {
|
|
20
20
|
"access" : "public",
|
|
21
|
-
"tag" : "
|
|
21
|
+
"tag" : "latest"
|
|
22
22
|
},
|
|
23
23
|
"type" : "module",
|
|
24
24
|
"bugs" : {
|
|
@@ -259,6 +259,6 @@
|
|
|
259
259
|
"shadow-cljs" : "^3.3.6"
|
|
260
260
|
},
|
|
261
261
|
"files" : [ "dist", "README.md", "LICENSE", "CHANGELOG.md" ],
|
|
262
|
-
"version" : "0.1.
|
|
262
|
+
"version" : "0.1.11-alpha",
|
|
263
263
|
"sideEffects" : [ "./dist/*.js" ]
|
|
264
264
|
}
|