@duskmoon-dev/el-form-group 1.7.4 → 1.7.5

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.
@@ -1,41 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropNames = Object.getOwnPropertyNames;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- function __accessProp(key) {
6
- return this[key];
7
- }
8
- var __toCommonJS = (from) => {
9
- var entry = (__moduleCache ??= new WeakMap).get(from), desc;
10
- if (entry)
11
- return entry;
12
- entry = __defProp({}, "__esModule", { value: true });
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (var key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(entry, key))
16
- __defProp(entry, key, {
17
- get: __accessProp.bind(from, key),
18
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
- });
20
- }
21
- __moduleCache.set(from, entry);
22
- return entry;
23
- };
24
- var __moduleCache;
25
- var __returnValue = (v) => v;
26
- function __exportSetter(name, newValue) {
27
- this[name] = __returnValue.bind(null, newValue);
28
- }
29
- var __export = (target, all) => {
30
- for (var name in all)
31
- __defProp(target, name, {
32
- get: all[name],
33
- enumerable: true,
34
- configurable: true,
35
- set: __exportSetter.bind(all, name)
36
- });
37
- };
38
-
39
1
  // src/el-dm-form-group.ts
40
2
  var import_el_base = require("@duskmoon-dev/el-base");
41
3
  var import_form_group = require("@duskmoon-dev/core/components/form-group");
@@ -79,5 +41,5 @@ function register() {
79
41
  // src/register.ts
80
42
  register();
81
43
 
82
- //# debugId=FC3A44108609591D64756E2164756E21
44
+ //# debugId=5A5B5D27A48E6D4C64756E2164756E21
83
45
  //# sourceMappingURL=register.js.map
@@ -5,7 +5,7 @@
5
5
  "import { BaseElement, css } from '@duskmoon-dev/el-base';\nimport { css as formGroupCSS } from '@duskmoon-dev/core/components/form-group';\n\nconst coreStyles = formGroupCSS.replace(/@layer\\s+components\\s*\\{/, '').replace(/\\}\\s*$/, '');\n\nconst styles = css`\n :host {\n display: block;\n width: 100%;\n }\n\n :host([hidden]) {\n display: none !important;\n }\n\n ${coreStyles}\n`;\n\nexport class ElDmFormGroup extends BaseElement {\n static properties = {\n orientation: { type: String, reflect: true, default: 'vertical' },\n };\n\n declare orientation: 'vertical' | 'horizontal';\n\n constructor() {\n super();\n this.attachStyles(styles);\n }\n\n render(): string {\n const orientationClass =\n this.orientation === 'horizontal' ? 'form-group form-group-horizontal' : 'form-group';\n return `\n <div class=\"${orientationClass}\">\n <slot></slot>\n </div>\n `;\n }\n}\n\nexport function register(): void {\n if (!customElements.get('el-dm-form-group')) {\n customElements.define('el-dm-form-group', ElDmFormGroup);\n }\n}\n",
6
6
  "/**\n * Auto-registration entry point for el-dm-form-group\n *\n * Import this module to automatically register the custom element:\n * import '@duskmoon-dev/el-form-group/register';\n */\n\nimport { register } from './el-dm-form-group.js';\n\nregister();\n"
7
7
  ],
8
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAiC,IAAjC;AACoC,IAApC;AAEA,IAAM,aAAa,sBAAa,QAAQ,4BAA4B,EAAE,EAAE,QAAQ,UAAU,EAAE;AAE5F,IAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUX;AAAA;AAAA;AAGG,MAAM,sBAAsB,2BAAY;AAAA,SACtC,aAAa;AAAA,IAClB,aAAa,EAAE,MAAM,QAAQ,SAAS,MAAM,SAAS,WAAW;AAAA,EAClE;AAAA,EAIA,WAAW,GAAG;AAAA,IACZ,MAAM;AAAA,IACN,KAAK,aAAa,MAAM;AAAA;AAAA,EAG1B,MAAM,GAAW;AAAA,IACf,MAAM,mBACJ,KAAK,gBAAgB,eAAe,qCAAqC;AAAA,IAC3E,OAAO;AAAA,oBACS;AAAA;AAAA;AAAA;AAAA;AAKpB;AAEO,SAAS,QAAQ,GAAS;AAAA,EAC/B,IAAI,CAAC,eAAe,IAAI,kBAAkB,GAAG;AAAA,IAC3C,eAAe,OAAO,oBAAoB,aAAa;AAAA,EACzD;AAAA;;;ACnCF,SAAS;",
9
- "debugId": "FC3A44108609591D64756E2164756E21",
8
+ "mappings": ";AAAiC,IAAjC;AACoC,IAApC;AAEA,IAAM,aAAa,sBAAa,QAAQ,4BAA4B,EAAE,EAAE,QAAQ,UAAU,EAAE;AAE5F,IAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUX;AAAA;AAAA;AAGG,MAAM,sBAAsB,2BAAY;AAAA,SACtC,aAAa;AAAA,IAClB,aAAa,EAAE,MAAM,QAAQ,SAAS,MAAM,SAAS,WAAW;AAAA,EAClE;AAAA,EAIA,WAAW,GAAG;AAAA,IACZ,MAAM;AAAA,IACN,KAAK,aAAa,MAAM;AAAA;AAAA,EAG1B,MAAM,GAAW;AAAA,IACf,MAAM,mBACJ,KAAK,gBAAgB,eAAe,qCAAqC;AAAA,IAC3E,OAAO;AAAA,oBACS;AAAA;AAAA;AAAA;AAAA;AAKpB;AAEO,SAAS,QAAQ,GAAS;AAAA,EAC/B,IAAI,CAAC,eAAe,IAAI,kBAAkB,GAAG;AAAA,IAC3C,eAAe,OAAO,oBAAoB,aAAa;AAAA,EACzD;AAAA;;;ACnCF,SAAS;",
9
+ "debugId": "5A5B5D27A48E6D4C64756E2164756E21",
10
10
  "names": []
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duskmoon-dev/el-form-group",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "DuskMoon FormGroup custom element for grouping form fields",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
@@ -34,7 +34,7 @@
34
34
  "typecheck": "tsc --noEmit"
35
35
  },
36
36
  "dependencies": {
37
- "@duskmoon-dev/el-base": "1.7.4",
37
+ "@duskmoon-dev/el-base": "1.7.5",
38
38
  "@duskmoon-dev/core": "1.18.2"
39
39
  },
40
40
  "devDependencies": {