@iroco/ui 1.15.3 → 1.16.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.
@@ -22,3 +22,4 @@
22
22
  {/snippet}
23
23
 
24
24
  <Story name="Default" />
25
+ <Story name="Non clickable" args={{ clickable: false }} />
@@ -272,6 +272,7 @@
272
272
  >
273
273
  <!-- circle -->
274
274
  <button
275
+ disabled={!clickable}
275
276
  class="step
276
277
  {i <= $progress ? (step.alert ? 'bg-danger' : 'bg-primary') : 'bg-secondary'}
277
278
  text-light
@@ -327,6 +328,7 @@
327
328
  <!-- text label -->
328
329
  {#if typeof step.text != 'undefined'}
329
330
  <button
331
+ disabled={!clickable}
330
332
  class="steps__label"
331
333
  class:hover-highlight={clickable}
332
334
  style:margin-left={vertical ? (reverse ? null : stepLabelSpace) : null}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iroco/ui",
3
- "version": "1.15.3",
3
+ "version": "1.16.0",
4
4
  "description": "Iroco design system based on Svelte",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {