@scania/tegel 1.1.0 → 1.2.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.
@@ -183,14 +183,14 @@ const datetimeTemplate = ({ modeVariant, state, type, size, defaultValue, minVal
183
183
  </style>
184
184
 
185
185
  <div class="demo-wrapper">
186
-
186
+
187
187
  <tds-datetime
188
188
  id="datetime"
189
189
  ${defaultValue !== 'None' ? `default-value="${getDefaultValue(defaultValue, type)}"` : ''}
190
190
  ${modeVariant !== 'Inherit from parent' ? `mode-variant="${modeVariant.toLowerCase()}"` : ''}
191
191
  type="${typeLookup[type]}"
192
192
  ${minValue ? `min=${minValue}` : ''}
193
- ${maxValue ? `min=${maxValue}` : ''}
193
+ ${maxValue ? `max=${maxValue}` : ''}
194
194
  size="${sizeLookup[size]}"
195
195
  state="${stateLookup[state]}"
196
196
  ${disabled ? 'disabled' : ''}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scania/tegel",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Tegel Design System",
5
5
  "keywords": [
6
6
  "tegel",