@tempots/beatui 0.37.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{2019-RaU4YQ5c.js → 2019-CGWicU9n.js} +2 -2
- package/dist/{2019-B1QESOSc.cjs → 2019-DxwU2aOm.cjs} +1 -1
- package/dist/{2020-BAomdSE8.js → 2020-BRNvbMGL.js} +2 -2
- package/dist/{2020-BI-SxTSK.cjs → 2020-DHep9dU6.cjs} +1 -1
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +2 -2
- package/dist/beatui.css +62 -28
- package/dist/beatui.tailwind.css +62 -28
- package/dist/{index-BzApzJXc.cjs → index-C5-BM51Y.cjs} +1 -1
- package/dist/{index-Dc9UNC8n.js → index-D41aREgo.js} +1 -1
- package/dist/{index-BKjL6RO2.cjs → index-Dtqe3URb.cjs} +2 -2
- package/dist/{index-BS0NyhvV.js → index-i9pAnFtS.js} +4 -4
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +1 -1
- package/dist/{modal-CxG-RO9B.js → modal--1g8Y5LH.js} +1 -1
- package/dist/{modal-OMSAbIg1.cjs → modal-mA_AFUCI.cjs} +1 -1
- package/dist/{notice-C7o5d8Jw.js → notice-BuYqG6zM.js} +47 -44
- package/dist/{notice-0Xhzr7qR.cjs → notice-DCuZEAQO.cjs} +2 -2
- package/dist/types/components/form/use-form.d.ts +1 -1
- package/dist/{utils-BcIRhDH0.cjs → utils-BD6NGV1v.cjs} +1 -1
- package/dist/{utils-C7619Rp3.js → utils-B_QSuN66.js} +1 -1
- package/package.json +1 -1
package/dist/beatui.tailwind.css
CHANGED
|
@@ -1276,7 +1276,6 @@ a:focus-visible {
|
|
|
1276
1276
|
align-items: center;
|
|
1277
1277
|
justify-content: center;
|
|
1278
1278
|
border: 1.5px solid var(--badge-border);
|
|
1279
|
-
font-weight: var(--font-weight-semibold);
|
|
1280
1279
|
font-family: var(
|
|
1281
1280
|
--default-ui-font-family,
|
|
1282
1281
|
var(--font-ui, var(--font-body, var(--font-family-sans)))
|
|
@@ -1289,6 +1288,7 @@ a:focus-visible {
|
|
|
1289
1288
|
var(--motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));
|
|
1290
1289
|
background-color: var(--badge-bg);
|
|
1291
1290
|
color: var(--badge-text);
|
|
1291
|
+
white-space: nowrap;
|
|
1292
1292
|
}
|
|
1293
1293
|
|
|
1294
1294
|
.bc-badge__content {
|
|
@@ -6556,15 +6556,15 @@ span.bc-sidebar-link {
|
|
|
6556
6556
|
}
|
|
6557
6557
|
|
|
6558
6558
|
/* Table header */
|
|
6559
|
-
.bc-table thead,
|
|
6560
|
-
.bc-table tfoot {
|
|
6559
|
+
.bc-table > thead,
|
|
6560
|
+
.bc-table > tfoot {
|
|
6561
6561
|
background-color: var(--table-header-bg);
|
|
6562
6562
|
color: var(--table-header-text);
|
|
6563
6563
|
font-weight: var(--font-weight-semibold);
|
|
6564
6564
|
}
|
|
6565
6565
|
|
|
6566
6566
|
/* Sticky header */
|
|
6567
|
-
.bc-table--sticky-header thead {
|
|
6567
|
+
.bc-table--sticky-header > thead {
|
|
6568
6568
|
position: sticky;
|
|
6569
6569
|
top: 0;
|
|
6570
6570
|
z-index: var(--z-index-sticky, 10);
|
|
@@ -6572,7 +6572,7 @@ span.bc-sidebar-link {
|
|
|
6572
6572
|
}
|
|
6573
6573
|
|
|
6574
6574
|
/* Sticky footer */
|
|
6575
|
-
.bc-table--sticky-header tfoot {
|
|
6575
|
+
.bc-table--sticky-header > tfoot {
|
|
6576
6576
|
position: sticky;
|
|
6577
6577
|
bottom: 0;
|
|
6578
6578
|
z-index: var(--z-index-sticky, 10);
|
|
@@ -6580,15 +6580,21 @@ span.bc-sidebar-link {
|
|
|
6580
6580
|
}
|
|
6581
6581
|
|
|
6582
6582
|
/* Table cells */
|
|
6583
|
-
.bc-table th,
|
|
6584
|
-
.bc-table td
|
|
6583
|
+
.bc-table > thead > tr > th,
|
|
6584
|
+
.bc-table > thead > tr > td,
|
|
6585
|
+
.bc-table > tbody > tr > th,
|
|
6586
|
+
.bc-table > tbody > tr > td,
|
|
6587
|
+
.bc-table > tfoot > tr > th,
|
|
6588
|
+
.bc-table > tfoot > tr > td {
|
|
6585
6589
|
text-align: left;
|
|
6586
6590
|
vertical-align: middle;
|
|
6587
6591
|
padding: var(--spacing-md);
|
|
6588
6592
|
border: none;
|
|
6589
6593
|
}
|
|
6590
6594
|
|
|
6591
|
-
.bc-table th
|
|
6595
|
+
.bc-table > thead > tr > th,
|
|
6596
|
+
.bc-table > tbody > tr > th,
|
|
6597
|
+
.bc-table > tfoot > tr > th {
|
|
6592
6598
|
font-weight: var(--font-weight-semibold);
|
|
6593
6599
|
white-space: nowrap;
|
|
6594
6600
|
}
|
|
@@ -6599,68 +6605,96 @@ span.bc-sidebar-link {
|
|
|
6599
6605
|
}
|
|
6600
6606
|
|
|
6601
6607
|
/* With row borders */
|
|
6602
|
-
.bc-table--with-row-borders th,
|
|
6603
|
-
.bc-table--with-row-borders td
|
|
6608
|
+
.bc-table--with-row-borders > thead > tr > th,
|
|
6609
|
+
.bc-table--with-row-borders > thead > tr > td,
|
|
6610
|
+
.bc-table--with-row-borders > tbody > tr > th,
|
|
6611
|
+
.bc-table--with-row-borders > tbody > tr > td,
|
|
6612
|
+
.bc-table--with-row-borders > tfoot > tr > th,
|
|
6613
|
+
.bc-table--with-row-borders > tfoot > tr > td {
|
|
6604
6614
|
border-bottom: 1px solid var(--table-border);
|
|
6605
6615
|
}
|
|
6606
6616
|
|
|
6607
6617
|
/* With column borders */
|
|
6608
|
-
.bc-table--with-column-borders th,
|
|
6609
|
-
.bc-table--with-column-borders td
|
|
6618
|
+
.bc-table--with-column-borders > thead > tr > th,
|
|
6619
|
+
.bc-table--with-column-borders > thead > tr > td,
|
|
6620
|
+
.bc-table--with-column-borders > tbody > tr > th,
|
|
6621
|
+
.bc-table--with-column-borders > tbody > tr > td,
|
|
6622
|
+
.bc-table--with-column-borders > tfoot > tr > th,
|
|
6623
|
+
.bc-table--with-column-borders > tfoot > tr > td {
|
|
6610
6624
|
border-right: 1px solid var(--table-border);
|
|
6611
6625
|
}
|
|
6612
6626
|
|
|
6613
|
-
.bc-table--with-column-borders th:last-child,
|
|
6614
|
-
.bc-table--with-column-borders td:last-child
|
|
6627
|
+
.bc-table--with-column-borders > thead > tr > th:last-child,
|
|
6628
|
+
.bc-table--with-column-borders > thead > tr > td:last-child,
|
|
6629
|
+
.bc-table--with-column-borders > tbody > tr > th:last-child,
|
|
6630
|
+
.bc-table--with-column-borders > tbody > tr > td:last-child,
|
|
6631
|
+
.bc-table--with-column-borders > tfoot > tr > th:last-child,
|
|
6632
|
+
.bc-table--with-column-borders > tfoot > tr > td:last-child {
|
|
6615
6633
|
border-right: none;
|
|
6616
6634
|
}
|
|
6617
6635
|
|
|
6618
6636
|
/* With striped rows */
|
|
6619
|
-
.bc-table--with-striped-rows tbody tr:nth-child(even) {
|
|
6637
|
+
.bc-table--with-striped-rows > tbody > tr:nth-child(even) {
|
|
6620
6638
|
background-color: var(--table-stripe-bg);
|
|
6621
6639
|
}
|
|
6622
6640
|
|
|
6623
6641
|
/* Hoverable striped rows - darker stripe on hover */
|
|
6624
6642
|
.bc-table--hoverable.bc-table--with-striped-rows
|
|
6625
|
-
tbody
|
|
6626
|
-
tr:nth-child(even):hover {
|
|
6643
|
+
> tbody
|
|
6644
|
+
> tr:nth-child(even):hover {
|
|
6627
6645
|
background-color: var(--table-hover-bg);
|
|
6628
6646
|
filter: brightness(0.95);
|
|
6629
6647
|
}
|
|
6630
6648
|
|
|
6631
6649
|
/* Size variants */
|
|
6632
|
-
.bc-table--size-xs th,
|
|
6633
|
-
.bc-table--size-xs td
|
|
6650
|
+
.bc-table--size-xs > thead > tr > th,
|
|
6651
|
+
.bc-table--size-xs > thead > tr > td,
|
|
6652
|
+
.bc-table--size-xs > tbody > tr > th,
|
|
6653
|
+
.bc-table--size-xs > tbody > tr > td,
|
|
6654
|
+
.bc-table--size-xs > tfoot > tr > th,
|
|
6655
|
+
.bc-table--size-xs > tfoot > tr > td {
|
|
6634
6656
|
padding: var(--spacing-xs);
|
|
6635
6657
|
font-size: var(--font-size-sm);
|
|
6636
6658
|
}
|
|
6637
6659
|
|
|
6638
|
-
.bc-table--size-sm th,
|
|
6639
|
-
.bc-table--size-sm td
|
|
6660
|
+
.bc-table--size-sm > thead > tr > th,
|
|
6661
|
+
.bc-table--size-sm > thead > tr > td,
|
|
6662
|
+
.bc-table--size-sm > tbody > tr > th,
|
|
6663
|
+
.bc-table--size-sm > tbody > tr > td,
|
|
6664
|
+
.bc-table--size-sm > tfoot > tr > th,
|
|
6665
|
+
.bc-table--size-sm > tfoot > tr > td {
|
|
6640
6666
|
padding: calc(var(--spacing-base) * 1.5);
|
|
6641
6667
|
font-size: var(--font-size-sm);
|
|
6642
6668
|
}
|
|
6643
6669
|
|
|
6644
|
-
.bc-table--size-lg th,
|
|
6645
|
-
.bc-table--size-lg td
|
|
6670
|
+
.bc-table--size-lg > thead > tr > th,
|
|
6671
|
+
.bc-table--size-lg > thead > tr > td,
|
|
6672
|
+
.bc-table--size-lg > tbody > tr > th,
|
|
6673
|
+
.bc-table--size-lg > tbody > tr > td,
|
|
6674
|
+
.bc-table--size-lg > tfoot > tr > th,
|
|
6675
|
+
.bc-table--size-lg > tfoot > tr > td {
|
|
6646
6676
|
padding: var(--spacing-lg);
|
|
6647
6677
|
}
|
|
6648
6678
|
|
|
6649
|
-
.bc-table--size-xl th,
|
|
6650
|
-
.bc-table--size-xl td
|
|
6679
|
+
.bc-table--size-xl > thead > tr > th,
|
|
6680
|
+
.bc-table--size-xl > thead > tr > td,
|
|
6681
|
+
.bc-table--size-xl > tbody > tr > th,
|
|
6682
|
+
.bc-table--size-xl > tbody > tr > td,
|
|
6683
|
+
.bc-table--size-xl > tfoot > tr > th,
|
|
6684
|
+
.bc-table--size-xl > tfoot > tr > td {
|
|
6651
6685
|
padding: calc(var(--spacing-base) * 5);
|
|
6652
6686
|
font-size: var(--font-size-lg);
|
|
6653
6687
|
}
|
|
6654
6688
|
|
|
6655
6689
|
/* Hoverable rows */
|
|
6656
|
-
.bc-table--hoverable tbody tr {
|
|
6690
|
+
.bc-table--hoverable > tbody > tr {
|
|
6657
6691
|
transition: background-color
|
|
6658
6692
|
var(--motion-transition-fast, var(--motion-duration-fast, 0.2s))
|
|
6659
6693
|
var(--motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));
|
|
6660
6694
|
cursor: pointer;
|
|
6661
6695
|
}
|
|
6662
6696
|
|
|
6663
|
-
.bc-table--hoverable tbody tr:hover {
|
|
6697
|
+
.bc-table--hoverable > tbody > tr:hover {
|
|
6664
6698
|
background-color: var(--table-hover-bg);
|
|
6665
6699
|
}
|
|
6666
6700
|
|
|
@@ -6684,7 +6718,7 @@ span.bc-sidebar-link {
|
|
|
6684
6718
|
|
|
6685
6719
|
/* Accessibility */
|
|
6686
6720
|
@media (prefers-reduced-motion: reduce) {
|
|
6687
|
-
.bc-table--hoverable tbody tr {
|
|
6721
|
+
.bc-table--hoverable > tbody > tr {
|
|
6688
6722
|
transition: none;
|
|
6689
6723
|
}
|
|
6690
6724
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const m=require("./index-
|
|
1
|
+
"use strict";const m=require("./index-Dtqe3URb.cjs");var R={},_={},O;function H(){if(O)return _;O=1,Object.defineProperty(_,"__esModule",{value:!0}),_.dynamicAnchor=void 0;const e=m.requireCodegen(),r=m.requireNames(),n=m.requireCompile(),l=m.requireRef(),o={keyword:"$dynamicAnchor",schemaType:"string",code:i=>t(i,i.schema)};function t(i,v){const{gen:s,it:d}=i;d.schemaEnv.root.dynamicAnchors[v]=!0;const y=(0,e._)`${r.default.dynamicAnchors}${(0,e.getProperty)(v)}`,a=d.errSchemaPath==="#"?d.validateName:u(i);s.if((0,e._)`!${y}`,()=>s.assign(y,a))}_.dynamicAnchor=t;function u(i){const{schemaEnv:v,schema:s,self:d}=i.it,{root:y,baseId:a,localRefs:f,meta:p}=v.root,{schemaId:S}=d.opts,c=new n.SchemaEnv({schema:s,schemaId:S,root:y,baseId:a,localRefs:f,meta:p});return n.compileSchema.call(d,c),(0,l.getValidate)(i,c)}return _.default=o,_}var q={},C;function J(){if(C)return q;C=1,Object.defineProperty(q,"__esModule",{value:!0}),q.dynamicRef=void 0;const e=m.requireCodegen(),r=m.requireNames(),n=m.requireRef(),l={keyword:"$dynamicRef",schemaType:"string",code:t=>o(t,t.schema)};function o(t,u){const{gen:i,keyword:v,it:s}=t;if(u[0]!=="#")throw new Error(`"${v}" only supports hash fragment reference`);const d=u.slice(1);if(s.allErrors)y();else{const f=i.let("valid",!1);y(f),t.ok(f)}function y(f){if(s.schemaEnv.root.dynamicAnchors[d]){const p=i.let("_v",(0,e._)`${r.default.dynamicAnchors}${(0,e.getProperty)(d)}`);i.if(p,a(p,f),a(s.validateName,f))}else a(s.validateName,f)()}function a(f,p){return p?()=>i.block(()=>{(0,n.callRef)(t,f),i.let(p,!0)}):()=>(0,n.callRef)(t,f)}}return q.dynamicRef=o,q.default=l,q}var $={},N;function K(){if(N)return $;N=1,Object.defineProperty($,"__esModule",{value:!0});const e=H(),r=m.requireUtil(),n={keyword:"$recursiveAnchor",schemaType:"boolean",code(l){l.schema?(0,e.dynamicAnchor)(l,""):(0,r.checkStrictMode)(l.it,"$recursiveAnchor: false is ignored")}};return $.default=n,$}var b={},I;function Q(){if(I)return b;I=1,Object.defineProperty(b,"__esModule",{value:!0});const e=J(),r={keyword:"$recursiveRef",schemaType:"string",code:n=>(0,e.dynamicRef)(n,n.schema)};return b.default=r,b}var U;function W(){if(U)return R;U=1,Object.defineProperty(R,"__esModule",{value:!0});const e=H(),r=J(),n=K(),l=Q(),o=[e.default,r.default,n.default,l.default];return R.default=o,R}var P={},g={},E;function X(){if(E)return g;E=1,Object.defineProperty(g,"__esModule",{value:!0});const e=m.requireDependencies(),r={keyword:"dependentRequired",type:"object",schemaType:"object",error:e.error,code:n=>(0,e.validatePropertyDeps)(n)};return g.default=r,g}var j={},V;function Y(){if(V)return j;V=1,Object.defineProperty(j,"__esModule",{value:!0});const e=m.requireDependencies(),r={keyword:"dependentSchemas",type:"object",schemaType:"object",code:n=>(0,e.validateSchemaDeps)(n)};return j.default=r,j}var k={},L;function Z(){if(L)return k;L=1,Object.defineProperty(k,"__esModule",{value:!0});const e=m.requireUtil(),r={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:n,parentSchema:l,it:o}){l.contains===void 0&&(0,e.checkStrictMode)(o,`"${n}" without "contains" is ignored`)}};return k.default=r,k}var z;function x(){if(z)return P;z=1,Object.defineProperty(P,"__esModule",{value:!0});const e=X(),r=Y(),n=Z(),l=[e.default,r.default,n.default];return P.default=l,P}var w={},A={},B;function ee(){if(B)return A;B=1,Object.defineProperty(A,"__esModule",{value:!0});const e=m.requireCodegen(),r=m.requireUtil(),n=m.requireNames(),o={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:t})=>(0,e._)`{unevaluatedProperty: ${t.unevaluatedProperty}}`},code(t){const{gen:u,schema:i,data:v,errsCount:s,it:d}=t;if(!s)throw new Error("ajv implementation error");const{allErrors:y,props:a}=d;a instanceof e.Name?u.if((0,e._)`${a} !== true`,()=>u.forIn("key",v,c=>u.if(p(a,c),()=>f(c)))):a!==!0&&u.forIn("key",v,c=>a===void 0?f(c):u.if(S(a,c),()=>f(c))),d.props=!0,t.ok((0,e._)`${s} === ${n.default.errors}`);function f(c){if(i===!1){t.setParams({unevaluatedProperty:c}),t.error(),y||u.break();return}if(!(0,r.alwaysValidSchema)(d,i)){const h=u.name("valid");t.subschema({keyword:"unevaluatedProperties",dataProp:c,dataPropType:r.Type.Str},h),y||u.if((0,e.not)(h),()=>u.break())}}function p(c,h){return(0,e._)`!${c} || !${c}[${h}]`}function S(c,h){const T=[];for(const M in c)c[M]===!0&&T.push((0,e._)`${h} !== ${M}`);return(0,e.and)(...T)}}};return A.default=o,A}var D={},F;function re(){if(F)return D;F=1,Object.defineProperty(D,"__esModule",{value:!0});const e=m.requireCodegen(),r=m.requireUtil(),l={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:o}})=>(0,e.str)`must NOT have more than ${o} items`,params:({params:{len:o}})=>(0,e._)`{limit: ${o}}`},code(o){const{gen:t,schema:u,data:i,it:v}=o,s=v.items||0;if(s===!0)return;const d=t.const("len",(0,e._)`${i}.length`);if(u===!1)o.setParams({len:s}),o.fail((0,e._)`${d} > ${s}`);else if(typeof u=="object"&&!(0,r.alwaysValidSchema)(v,u)){const a=t.var("valid",(0,e._)`${d} <= ${s}`);t.if((0,e.not)(a),()=>y(a,s)),o.ok(a)}v.items=!0;function y(a,f){t.forRange("i",f,d,p=>{o.subschema({keyword:"unevaluatedItems",dataProp:p,dataPropType:r.Type.Num},a),v.allErrors||t.if((0,e.not)(a),()=>t.break())})}}};return D.default=l,D}var G;function ne(){if(G)return w;G=1,Object.defineProperty(w,"__esModule",{value:!0});const e=ee(),r=re(),n=[e.default,r.default];return w.default=n,w}exports.requireDynamic=W;exports.requireNext=x;exports.requireUnevaluated=ne;
|