@aotearoan/neon 18.2.10 → 18.2.12

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 +1 @@
1
- {"version":3,"file":"NeonInline.cjs.js","sources":["../../../../src/components/layout/inline/NeonInline.ts?vue&type=script&src=true&lang.ts"],"sourcesContent":["import { defineComponent } from 'vue';\nimport { NeonSize } from '@/common/enums/NeonSize';\nimport { NeonResponsive } from '@/neon';\n\n/**\n * A horizontal layout component. NeonInline provides a way of laying out it's contents with standard gaps. At the\n * specified breakpoint the layout will wrap to vertical.\n */\nexport default defineComponent({\n name: 'NeonInline',\n props: {\n /**\n * Size of the gap between items\n */\n gap: { type: String as () => NeonSize, default: () => NeonSize.Large },\n /**\n * Breakpoint at which to layout switches to vertical. TIP: Pass <em>breakpoint=\"\"</em> to override the default\n * breakpoint & prevent switching to a vertical layout.\n */\n breakpoint: { type: String as () => NeonSize, default: () => NeonResponsive.MobileLarge },\n },\n});\n"],"names":["_sfc_main","defineComponent","NeonSize","NeonResponsive"],"mappings":"gJAQAA,EAAeC,kBAAgB,CAC7B,KAAM,aACN,MAAO,CAIL,IAAK,CAAE,KAAM,OAA0B,QAAS,IAAMC,EAAAA,SAAS,KAAA,EAK/D,WAAY,CAAE,KAAM,OAA0B,QAAS,IAAMC,EAAAA,eAAe,WAAA,CAAY,CAE5F,CAAC"}
1
+ {"version":3,"file":"NeonInline.cjs.js","sources":["../../../../src/components/layout/inline/NeonInline.ts?vue&type=script&src=true&lang.ts"],"sourcesContent":["import { defineComponent } from 'vue';\nimport { NeonSize } from '@/common/enums/NeonSize';\nimport { NeonResponsive } from '@/common/enums/NeonResponsive';\n\n/**\n * A horizontal layout component. NeonInline provides a way of laying out it's contents with standard gaps. At the\n * specified breakpoint the layout will wrap to vertical.\n */\nexport default defineComponent({\n name: 'NeonInline',\n props: {\n /**\n * Size of the gap between items\n */\n gap: { type: String as () => NeonSize, default: () => NeonSize.Large },\n /**\n * Breakpoint at which to layout switches to vertical. TIP: Pass <em>breakpoint=\"\"</em> to override the default\n * breakpoint & prevent switching to a vertical layout.\n */\n breakpoint: { type: String as () => NeonSize, default: () => NeonResponsive.MobileLarge },\n },\n});\n"],"names":["_sfc_main","defineComponent","NeonSize","NeonResponsive"],"mappings":"gJAQAA,EAAeC,kBAAgB,CAC7B,KAAM,aACN,MAAO,CAIL,IAAK,CAAE,KAAM,OAA0B,QAAS,IAAMC,EAAAA,SAAS,KAAA,EAK/D,WAAY,CAAE,KAAM,OAA0B,QAAS,IAAMC,EAAAA,eAAe,WAAA,CAAY,CAE5F,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NeonInline.es.js","sources":["../../../../src/components/layout/inline/NeonInline.ts?vue&type=script&src=true&lang.ts"],"sourcesContent":["import { defineComponent } from 'vue';\nimport { NeonSize } from '@/common/enums/NeonSize';\nimport { NeonResponsive } from '@/neon';\n\n/**\n * A horizontal layout component. NeonInline provides a way of laying out it's contents with standard gaps. At the\n * specified breakpoint the layout will wrap to vertical.\n */\nexport default defineComponent({\n name: 'NeonInline',\n props: {\n /**\n * Size of the gap between items\n */\n gap: { type: String as () => NeonSize, default: () => NeonSize.Large },\n /**\n * Breakpoint at which to layout switches to vertical. TIP: Pass <em>breakpoint=\"\"</em> to override the default\n * breakpoint & prevent switching to a vertical layout.\n */\n breakpoint: { type: String as () => NeonSize, default: () => NeonResponsive.MobileLarge },\n },\n});\n"],"names":["_sfc_main","defineComponent","NeonSize","NeonResponsive"],"mappings":";;;AAQA,MAAAA,IAAeC,EAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,KAAK,EAAE,MAAM,QAA0B,SAAS,MAAMC,EAAS,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAK/D,YAAY,EAAE,MAAM,QAA0B,SAAS,MAAMC,EAAe,YAAA;AAAA,EAAY;AAE5F,CAAC;"}
1
+ {"version":3,"file":"NeonInline.es.js","sources":["../../../../src/components/layout/inline/NeonInline.ts?vue&type=script&src=true&lang.ts"],"sourcesContent":["import { defineComponent } from 'vue';\nimport { NeonSize } from '@/common/enums/NeonSize';\nimport { NeonResponsive } from '@/common/enums/NeonResponsive';\n\n/**\n * A horizontal layout component. NeonInline provides a way of laying out it's contents with standard gaps. At the\n * specified breakpoint the layout will wrap to vertical.\n */\nexport default defineComponent({\n name: 'NeonInline',\n props: {\n /**\n * Size of the gap between items\n */\n gap: { type: String as () => NeonSize, default: () => NeonSize.Large },\n /**\n * Breakpoint at which to layout switches to vertical. TIP: Pass <em>breakpoint=\"\"</em> to override the default\n * breakpoint & prevent switching to a vertical layout.\n */\n breakpoint: { type: String as () => NeonSize, default: () => NeonResponsive.MobileLarge },\n },\n});\n"],"names":["_sfc_main","defineComponent","NeonSize","NeonResponsive"],"mappings":";;;AAQA,MAAAA,IAAeC,EAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,KAAK,EAAE,MAAM,QAA0B,SAAS,MAAMC,EAAS,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAK/D,YAAY,EAAE,MAAM,QAA0B,SAAS,MAAMC,EAAe,YAAA;AAAA,EAAY;AAE5F,CAAC;"}
@@ -1,5 +1,5 @@
1
1
  import { NeonSize } from '@/common/enums/NeonSize';
2
- import { NeonResponsive } from '@/neon';
2
+ import { NeonResponsive } from '@/common/enums/NeonResponsive';
3
3
  /**
4
4
  * A horizontal layout component. NeonInline provides a way of laying out it's contents with standard gaps. At the
5
5
  * specified breakpoint the layout will wrap to vertical.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aotearoan/neon",
3
3
  "description": "Neon is a lightweight design library of Vue 3 components with minimal dependencies.",
4
- "version": "18.2.10",
4
+ "version": "18.2.12",
5
5
  "main": "./dist/neon.cjs.js",
6
6
  "module": "./dist/neon.es.js",
7
7
  "types": "./dist/src/neon.d.ts",
@@ -102,7 +102,7 @@
102
102
  max-height: calc(var(--neon-size-s) - 2 * var(--neon-border-width));
103
103
 
104
104
  .neon-icon {
105
- top: var(--neon-space-2);
105
+ top: calc(0.5 * var(--neon-base-space));
106
106
  right: var(--neon-space-8);
107
107
  }
108
108
  }
@@ -121,7 +121,7 @@
121
121
 
122
122
  .neon-icon {
123
123
  top: 0;
124
- right: var(--neon-space-8);
124
+ right: calc(2 * var(--neon-base-space));
125
125
  }
126
126
  }
127
127
  }
@@ -138,8 +138,8 @@
138
138
  max-height: calc(var(--neon-size-l) - 2 * var(--neon-border-width));
139
139
 
140
140
  .neon-icon {
141
- top: calc(-1 * var(--neon-space-4));
142
- right: var(--neon-space-8);
141
+ top: calc(-1 * var(--neon-base-space));
142
+ right: calc(2 * var(--neon-base-space));
143
143
  }
144
144
  }
145
145
  }