@cocoar/vue-ui 1.8.0 → 1.9.0-script-editor.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,5 +5,11 @@ export interface FormFieldProvided {
5
5
  hasError: ComputedRef<boolean>;
6
6
  disabled: ComputedRef<boolean>;
7
7
  }
8
+ /**
9
+ * `Symbol.for` (not `Symbol`) so sister packages like `@cocoar/vue-script-editor` can
10
+ * resolve the same key through the global registry without importing `@cocoar/vue-ui`.
11
+ * If you provide/inject `FORM_FIELD_INJECTION_KEY` in application code, always import it
12
+ * from `@cocoar/vue-ui` — don't call `Symbol.for('coar:form-field')` directly.
13
+ */
8
14
  export declare const FORM_FIELD_INJECTION_KEY: InjectionKey<FormFieldProvided>;
9
15
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/form-field/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AAErD,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC/B,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAChC;AAED,eAAO,MAAM,wBAAwB,EAAE,YAAY,CAAC,iBAAiB,CAA2B,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/form-field/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AAErD,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC/B,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAChC;AAED;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,EAAE,YAAY,CAAC,iBAAiB,CACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CoarOverlayOutlet.vue.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/CoarOverlayOutlet.vue"],"names":[],"mappings":"AA6HA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,eAAe,CAAC;CAC3B,CAAC;AA+CF,iBAAS,cAAc;WAsFT,OAAO,IAA6B;;yBAZpB,GAAG;;;;;;;EAiBhC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;OAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CoarOverlayOutlet.vue.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/CoarOverlayOutlet.vue"],"names":[],"mappings":"AAmIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,eAAe,CAAC;CAC3B,CAAC;AA+CF,iBAAS,cAAc;WA4FT,OAAO,IAA6B;;yBAZpB,GAAG;;;;;;;EAiBhC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;OAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import { Maskito as ne } from "@maskito/core";
5
5
  import { maskitoDateOptionsGenerator as re, maskitoDateTimeOptionsGenerator as ie, maskitoNumberOptionsGenerator as ae } from "@maskito/kit";
6
6
  import { Temporal as J } from "@js-temporal/polyfill";
7
7
  //#region src/components/form-field/constants.ts
8
- var oe = Symbol("CoarFormField"), se = ["id", "for"], ce = {
8
+ var oe = Symbol.for("coar:form-field"), se = ["id", "for"], ce = {
9
9
  key: 0,
10
10
  class: "coar-form-field__required",
11
11
  "aria-hidden": "true"
@@ -5690,14 +5690,13 @@ var cc = ["data-placement"], lc = /* @__PURE__ */ u({
5690
5690
  style: {
5691
5691
  position: "fixed",
5692
5692
  inset: "unset",
5693
- top: "0px",
5694
- left: "0px",
5693
+ left: `${e.instance.left}px`,
5694
+ top: `${e.instance.top}px`,
5695
5695
  margin: "0",
5696
5696
  border: "none",
5697
5697
  padding: "0",
5698
5698
  background: "transparent",
5699
5699
  overflow: "visible",
5700
- transform: `translate3d(${e.instance.left}px, ${e.instance.top}px, 0px)`,
5701
5700
  zIndex: `calc(var(--coar-z-overlay, 1000) + ${e.instance.id * 2})`,
5702
5701
  opacity: e.instance.presented ? "1" : "0",
5703
5702
  pointerEvents: e.instance.presented ? "auto" : "none"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocoar/vue-ui",
3
- "version": "1.8.0",
3
+ "version": "1.9.0-script-editor.4",
4
4
  "description": "Cocoar Design System — a touch-first Vue 3 component library with 30+ accessible, themeable components",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -48,7 +48,7 @@
48
48
  "lint": "eslint src/"
49
49
  },
50
50
  "dependencies": {
51
- "@cocoar/vue-localization": "1.8.0",
51
+ "@cocoar/vue-localization": "1.9.0-script-editor.4",
52
52
  "@fontsource/inter": "^5.2.8",
53
53
  "@fontsource/poppins": "^5.2.7",
54
54
  "@js-temporal/polyfill": "^0.5.1",