inputs-wc 0.1.138 → 0.1.140

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/cjs/alt-input.cjs.entry.js +2 -2
  2. package/dist/cjs/{index-CJbT1yFi.js → index-BKqtxrh8.js} +2 -2
  3. package/dist/cjs/inputs-wc.cjs.js +2 -2
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/numeric-input.cjs.entry.js +2 -2
  6. package/dist/cjs/sample-form.cjs.entry.js +3 -3
  7. package/dist/cjs/{tw-BJXASLvJ.js → tw-CZuzOxdS.js} +2 -2
  8. package/dist/collection/collection-manifest.json +1 -1
  9. package/dist/collection/styles/shadow.css +4 -1
  10. package/dist/collection/tokens.css +1 -1
  11. package/dist/collection/utils/tw-version.js +1 -1
  12. package/dist/components/sample-form.js +1 -1
  13. package/dist/components/tw.js +1 -1
  14. package/dist/esm/alt-input.entry.js +2 -2
  15. package/dist/esm/{index-BxOkRpyR.js → index-Ct9t3Noq.js} +2 -2
  16. package/dist/esm/inputs-wc.js +3 -3
  17. package/dist/esm/loader.js +2 -2
  18. package/dist/esm/numeric-input.entry.js +2 -2
  19. package/dist/esm/sample-form.entry.js +3 -3
  20. package/dist/esm/{tw-5GlpVWrF.js → tw-CQMOSYa1.js} +2 -2
  21. package/dist/inputs-wc/inputs-wc.esm.js +1 -1
  22. package/dist/inputs-wc/{p-ff20c18f.entry.js → p-06b0a719.entry.js} +1 -1
  23. package/dist/inputs-wc/{p-83eb32f2.entry.js → p-10e57212.entry.js} +1 -1
  24. package/dist/inputs-wc/p-Ct9t3Noq.js +2 -0
  25. package/dist/inputs-wc/p-VFeTkGUU.js +1 -0
  26. package/dist/inputs-wc/{p-21ec9e8a.entry.js → p-af0d4d40.entry.js} +1 -1
  27. package/dist/inputs-wc/tokens.css +1 -1
  28. package/dist/types/stencil-public-runtime.d.ts +3 -1
  29. package/dist/types/utils/tw-version.d.ts +1 -1
  30. package/package.json +4 -4
  31. package/dist/inputs-wc/p-BUfqUGq3.js +0 -1
  32. package/dist/inputs-wc/p-BxOkRpyR.js +0 -2
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CJbT1yFi.js');
4
- var tw = require('./tw-BJXASLvJ.js');
3
+ var index = require('./index-BKqtxrh8.js');
4
+ var tw = require('./tw-CZuzOxdS.js');
5
5
 
6
6
  const altInputCss = () => ``;
7
7
 
@@ -5,7 +5,7 @@ const BUILD = /* inputs-wc */ { allRenderFn: true, appendChildSlotFix: false, as
5
5
  const Env = /* inputs-wc */ {};
6
6
 
7
7
  /*
8
- Stencil Client Platform v4.43.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Platform v4.43.1 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var Build = {
@@ -1035,7 +1035,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
1035
1035
  }
1036
1036
  } else {
1037
1037
  const existingStyleContainer = styleContainerNode.querySelector("style");
1038
- if (existingStyleContainer) {
1038
+ if (existingStyleContainer && !BUILD.hotModuleReplacement) {
1039
1039
  existingStyleContainer.textContent = style + existingStyleContainer.textContent;
1040
1040
  } else {
1041
1041
  styleContainerNode.prepend(styleElm);
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CJbT1yFi.js');
3
+ var index = require('./index-BKqtxrh8.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
7
  /*
8
- Stencil Client Patch Browser v4.43.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.43.1 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var patchBrowser = () => {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CJbT1yFi.js');
3
+ var index = require('./index-BKqtxrh8.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CJbT1yFi.js');
4
- var tw = require('./tw-BJXASLvJ.js');
3
+ var index = require('./index-BKqtxrh8.js');
4
+ var tw = require('./tw-CZuzOxdS.js');
5
5
 
6
6
  const numericInputCss = () => ``;
7
7
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CJbT1yFi.js');
4
- var tw = require('./tw-BJXASLvJ.js');
3
+ var index = require('./index-BKqtxrh8.js');
4
+ var tw = require('./tw-CZuzOxdS.js');
5
5
 
6
6
  const Button = props => {
7
7
  const { label, callback } = props;
@@ -26,7 +26,7 @@ const Radio = props => {
26
26
  return (index.h("svg", { class: klass, width: size, height: size, viewBox: "0 0 24 24", role: "img", "aria-label": "title" }, index.h("title", null, label), ' ', index.h("g", { fill: hex }, selected ? (index.h("path", { d: "M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" })) : (index.h("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" }))), index.h("path", { d: "M0 0h24v24H0z", fill: "none" })));
27
27
  };
28
28
 
29
- const shadowCss = () => `@layer properties; @layer theme,base,components,utilities; @layer theme{:root,:host{--spacing:0.25rem;--font-weight-bold:700;--radius-md:0.375rem}}@layer utilities{.mr-2{margin-right:calc(var(--spacing) * 2)}.flex{display:flex}.flex-col{flex-direction:column}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-clrs-slate4{border-color:var(--clrs-slate4, #4e5964)}.bg-clrs-blue{background-color:var(--clrs-blue, #0074d9)}.px-2{padding-inline:calc(var(--spacing) * 2)}.py-1{padding-block:calc(var(--spacing) * 1)}.text-right{text-align:right}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-clrs-navy{color:var(--clrs-navy, #001f3f)}.text-clrs-red{color:var(--clrs-red, #ff4136)}.text-clrs-white{color:var(--clrs-white, #ffffff)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:bg-clrs-red{&:hover{@media (hover: hover){background-color:var(--clrs-red, #ff4136)}}}}`;
29
+ const shadowCss = () => `@layer properties; @layer theme,base,components,utilities; @layer theme{:root,:host{--spacing:0.25rem;--font-weight-bold:700;--radius-md:0.375rem}}@layer utilities{.start{inset-inline-start:var(--spacing)}.mr-2{margin-right:calc(var(--spacing) * 2)}.flex{display:flex}.flex-col{flex-direction:column}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-clrs-slate4{border-color:var(--clrs-slate4, #4e5964)}.bg-clrs-blue{background-color:var(--clrs-blue, #0074d9)}.px-2{padding-inline:calc(var(--spacing) * 2)}.py-1{padding-block:calc(var(--spacing) * 1)}.text-right{text-align:right}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-clrs-navy{color:var(--clrs-navy, #001f3f)}.text-clrs-red{color:var(--clrs-red, #ff4136)}.text-clrs-white{color:var(--clrs-white, #ffffff)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:bg-clrs-red{&:hover{@media (hover: hover){background-color:var(--clrs-red, #ff4136)}}}}`;
30
30
 
31
31
  const SampleForm = class {
32
32
  constructor(hostRef) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CJbT1yFi.js');
3
+ var index = require('./index-BKqtxrh8.js');
4
4
 
5
5
  const appendToMap = (map, propName, value) => {
6
6
  let refs = map.get(propName);
@@ -311,7 +311,7 @@ function requireChance () {
311
311
 
312
312
  // Constants
313
313
  var MAX_INT = 9007199254740992;
314
- var MIN_INT = -9007199254740992;
314
+ var MIN_INT = -MAX_INT;
315
315
  var NUMBERS = '0123456789';
316
316
  var CHARS_LOWER = 'abcdefghijklmnopqrstuvwxyz';
317
317
  var CHARS_UPPER = CHARS_LOWER.toUpperCase();
@@ -6,7 +6,7 @@
6
6
  ],
7
7
  "compiler": {
8
8
  "name": "@stencil/core",
9
- "version": "4.43.0",
9
+ "version": "4.43.1",
10
10
  "typescriptVersion": "5.8.3"
11
11
  },
12
12
  "collections": [],
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.2.0 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  @layer theme, base, components, utilities;
4
4
  @layer theme {
@@ -10,6 +10,9 @@
10
10
  }
11
11
  }
12
12
  @layer utilities {
13
+ .start {
14
+ inset-inline-start: var(--spacing);
15
+ }
13
16
  .mr-2 {
14
17
  margin-right: calc(var(--spacing) * 2);
15
18
  }
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.2.0 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  @layer theme, base, components, utilities;
4
4
  @layer theme {
@@ -1,4 +1,4 @@
1
1
  // WARNING: generated file...
2
- const TW_VERSION = '4.1.18';
2
+ const TW_VERSION = '4.2.0';
3
3
  export { TW_VERSION };
4
4
  export default TW_VERSION;
@@ -1 +1 @@
1
- import{h as r,proxyCustomElement as e,HTMLElement as t,transformTag as l}from"@stencil/core/internal/client";import{t as o,a as s,s as a}from"./tw.js";const i=e=>{const{label:t,callback:l}=e;return r("button",{class:o("mr-2 rounded-md border border-solid border-clrs-slate4 font-bold","bg-clrs-blue px-2 py-1 text-clrs-white","hover:bg-clrs-red"),onClick:l},t)},c=e=>{const t=e.hex||"currentColor",l=e.selected||!1,o=e.size||24;return r("svg",{class:e.class,width:o,height:o,viewBox:"0 0 24 24",role:"img","aria-label":"title"},r("title",null,e.label||"check")," ",r("g",{fill:t},r("path",l?{d:"M10 17L5 12L6.41 10.58L10 14.17L17.59 6.58L19 8M19 3H5C3.89 3 3 3.89 3 5V19A2 2 0 0 0 5 21H19A2 2 0 0 0 21 19V5C21 3.89 20.1 3 19 3Z"}:{d:"M19 3H5C3.89 3 3 3.89 3 5V19A2 2 0 0 0 5 21H19A2 2 0 0 0 21 19V5C21 3.89 20.1 3 19 3M19 5V19H5V5H19Z"})),r("path",{d:"M0 0h24v24H0z",fill:"none"}))},d=e=>{const t=e.hex||"currentColor",l=e.selected||!1,o=e.size||24;return r("svg",{class:e.class,width:o,height:o,viewBox:"0 0 24 24",role:"img","aria-label":"title"},r("title",null,e.label||"radio")," ",r("g",{fill:t},r("path",l?{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),r("path",{d:"M0 0h24v24H0z",fill:"none"}))},n=e(class extends t{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow()}refresh(){s.refresh()}render(){const{items:e,itemSets:t,pick:l}=a,o=a.tag,n=t.map(((e,t)=>r("span",{onClick:()=>s.pick(t)},r(d,{selected:t==l})))),h=e.map((({key:e,value:t})=>r(o,{"x-id":e,"x-value":t,max:20})));return r("div",{class:"flex flex-col gap-2 text-clrs-navy"},r("div",{class:"flex"},r(i,{label:"Refresh",callback:this.refresh}),r("span",{onClick:()=>s.toggle()},r(c,{selected:"numeric-input"===o,label:o})),...n),...h)}static get style(){return"@layer properties; @layer theme,base,components,utilities; @layer theme{:root,:host{--spacing:0.25rem;--font-weight-bold:700;--radius-md:0.375rem}}@layer utilities{.mr-2{margin-right:calc(var(--spacing) * 2)}.flex{display:flex}.flex-col{flex-direction:column}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-clrs-slate4{border-color:var(--clrs-slate4, #4e5964)}.bg-clrs-blue{background-color:var(--clrs-blue, #0074d9)}.px-2{padding-inline:calc(var(--spacing) * 2)}.py-1{padding-block:calc(var(--spacing) * 1)}.text-right{text-align:right}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-clrs-navy{color:var(--clrs-navy, #001f3f)}.text-clrs-red{color:var(--clrs-red, #ff4136)}.text-clrs-white{color:var(--clrs-white, #ffffff)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:bg-clrs-red{&:hover{@media (hover: hover){background-color:var(--clrs-red, #ff4136)}}}}"}},[1,"sample-form"]),h=n,f=function(){"undefined"!=typeof customElements&&["sample-form"].forEach((r=>{"sample-form"===r&&(customElements.get(l(r))||customElements.define(l(r),n))}))};export{h as SampleForm,f as defineCustomElement}
1
+ import{h as r,proxyCustomElement as e,HTMLElement as t,transformTag as l}from"@stencil/core/internal/client";import{t as s,a as o,s as a}from"./tw.js";const i=e=>{const{label:t,callback:l}=e;return r("button",{class:s("mr-2 rounded-md border border-solid border-clrs-slate4 font-bold","bg-clrs-blue px-2 py-1 text-clrs-white","hover:bg-clrs-red"),onClick:l},t)},c=e=>{const t=e.hex||"currentColor",l=e.selected||!1,s=e.size||24;return r("svg",{class:e.class,width:s,height:s,viewBox:"0 0 24 24",role:"img","aria-label":"title"},r("title",null,e.label||"check")," ",r("g",{fill:t},r("path",l?{d:"M10 17L5 12L6.41 10.58L10 14.17L17.59 6.58L19 8M19 3H5C3.89 3 3 3.89 3 5V19A2 2 0 0 0 5 21H19A2 2 0 0 0 21 19V5C21 3.89 20.1 3 19 3Z"}:{d:"M19 3H5C3.89 3 3 3.89 3 5V19A2 2 0 0 0 5 21H19A2 2 0 0 0 21 19V5C21 3.89 20.1 3 19 3M19 5V19H5V5H19Z"})),r("path",{d:"M0 0h24v24H0z",fill:"none"}))},n=e=>{const t=e.hex||"currentColor",l=e.selected||!1,s=e.size||24;return r("svg",{class:e.class,width:s,height:s,viewBox:"0 0 24 24",role:"img","aria-label":"title"},r("title",null,e.label||"radio")," ",r("g",{fill:t},r("path",l?{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),r("path",{d:"M0 0h24v24H0z",fill:"none"}))},d=e(class extends t{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow()}refresh(){o.refresh()}render(){const{items:e,itemSets:t,pick:l}=a,s=a.tag,d=t.map(((e,t)=>r("span",{onClick:()=>o.pick(t)},r(n,{selected:t==l})))),h=e.map((({key:e,value:t})=>r(s,{"x-id":e,"x-value":t,max:20})));return r("div",{class:"flex flex-col gap-2 text-clrs-navy"},r("div",{class:"flex"},r(i,{label:"Refresh",callback:this.refresh}),r("span",{onClick:()=>o.toggle()},r(c,{selected:"numeric-input"===s,label:s})),...d),...h)}static get style(){return"@layer properties; @layer theme,base,components,utilities; @layer theme{:root,:host{--spacing:0.25rem;--font-weight-bold:700;--radius-md:0.375rem}}@layer utilities{.start{inset-inline-start:var(--spacing)}.mr-2{margin-right:calc(var(--spacing) * 2)}.flex{display:flex}.flex-col{flex-direction:column}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-clrs-slate4{border-color:var(--clrs-slate4, #4e5964)}.bg-clrs-blue{background-color:var(--clrs-blue, #0074d9)}.px-2{padding-inline:calc(var(--spacing) * 2)}.py-1{padding-block:calc(var(--spacing) * 1)}.text-right{text-align:right}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-clrs-navy{color:var(--clrs-navy, #001f3f)}.text-clrs-red{color:var(--clrs-red, #ff4136)}.text-clrs-white{color:var(--clrs-white, #ffffff)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:bg-clrs-red{&:hover{@media (hover: hover){background-color:var(--clrs-red, #ff4136)}}}}"}},[1,"sample-form"]),h=d,f=function(){"undefined"!=typeof customElements&&["sample-form"].forEach((r=>{"sample-form"===r&&(customElements.get(l(r))||customElements.define(l(r),d))}))};export{h as SampleForm,f as defineCustomElement}