@aurodesignsystem-dev/auro-datetime 0.0.0-pr82.1 → 0.0.0-pr82.2

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.
package/demo/api.md CHANGED
@@ -7,16 +7,16 @@ The `auro-datetime` element is for the purposes of providing an easy to use date
7
7
 
8
8
  ### Properties & Attributes
9
9
 
10
- | Properties | Attributes | Modifiers | Type | Default | Description |
11
- | ---------- | ---------- | --------- | ------------------------------------------------------------------------------------------------ | ------- | -------------------------------------------------------------------------------------------------------------------------------- |
12
- | cap | cap | | boolean | | Capitalize AM or PM designation |
13
- | locale | locale | | string | `en-US` | BCP 47 language tag for locale-aware date/time formatting (e.g. 'en-GB', 'de-DE', 'ja-JP').<br>Defaults to 'en-US' when not set. |
14
- | month | month | | `short` \| `long` | `short` | Defines format of month |
15
- | setDate | setDate | | string | | Pass in string to set date |
16
- | timeZone | timeZone | | string | | Pass in string to define [timeZone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) |
17
- | type | type | | `date` \| `time` \| `year` \| `month` \| `weekday` \| `day` \| `numeric` \| `tzDate` \| `tzTime` | | Defines type of data to render |
18
- | utc | utc | | string | | Pass in ISO 8601 UTC formatted time code |
19
- | weekday | weekday | | `short` \| `long` | `short` | Defines format of weekday |
10
+ | Properties | Attributes | Modifiers | Type | Default | Description |
11
+ | ---------- | ---------- | --------- | ------------------------------------------------------------------------------------------------ | ------- | ------------------------------------------------------------------------------------------------- |
12
+ | cap | cap | | boolean | | Capitalize AM or PM designation |
13
+ | locale | locale | | string | `en-US` | BCP 47 language tag for locale-aware date/time formatting (e.g. 'en-GB', 'de-DE', 'ja-JP'). |
14
+ | month | month | | `short` \| `long` | `short` | Defines format of month |
15
+ | setDate | setDate | | string | | Pass in string to set date |
16
+ | timeZone | timeZone | | string | | Pass in string to define [timeZone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) |
17
+ | type | type | | `date` \| `time` \| `year` \| `month` \| `weekday` \| `day` \| `numeric` \| `tzDate` \| `tzTime` | | Defines type of data to render |
18
+ | utc | utc | | string | | Pass in ISO 8601 UTC formatted time code |
19
+ | weekday | weekday | | `short` \| `long` | `short` | Defines format of weekday |
20
20
 
21
21
  ### Methods
22
22
 
@@ -170,7 +170,6 @@ class AuroDatetime extends i {
170
170
 
171
171
  /**
172
172
  * BCP 47 language tag for locale-aware date/time formatting (e.g. 'en-GB', 'de-DE', 'ja-JP').
173
- * Defaults to 'en-US' when not set.
174
173
  * @type {string}
175
174
  * @default 'en-US'
176
175
  */
package/dist/index.d.ts CHANGED
@@ -75,8 +75,7 @@ type BaseEvents = {};
75
75
  export type AuroDatetimeProps = {
76
76
  /** Capitalize AM or PM designation */
77
77
  cap?: AuroDatetime["cap"];
78
- /** BCP 47 language tag for locale-aware date/time formatting (e.g. 'en-GB', 'de-DE', 'ja-JP').
79
- Defaults to 'en-US' when not set. */
78
+ /** BCP 47 language tag for locale-aware date/time formatting (e.g. 'en-GB', 'de-DE', 'ja-JP'). */
80
79
  locale?: AuroDatetime["locale"];
81
80
  /** Defines format of month */
82
81
  month?: AuroDatetime["month"];
@@ -95,8 +94,7 @@ Defaults to 'en-US' when not set. */
95
94
  export type AuroDatetimeSolidJsProps = {
96
95
  /** Capitalize AM or PM designation */
97
96
  "prop:cap"?: AuroDatetime["cap"];
98
- /** BCP 47 language tag for locale-aware date/time formatting (e.g. 'en-GB', 'de-DE', 'ja-JP').
99
- Defaults to 'en-US' when not set. */
97
+ /** BCP 47 language tag for locale-aware date/time formatting (e.g. 'en-GB', 'de-DE', 'ja-JP'). */
100
98
  "prop:locale"?: AuroDatetime["locale"];
101
99
  /** Defines format of month */
102
100
  "prop:month"?: AuroDatetime["month"];
@@ -127,7 +125,6 @@ export type CustomElements = {
127
125
  *
128
126
  * - `cap`: Capitalize AM or PM designation
129
127
  * - `locale`: BCP 47 language tag for locale-aware date/time formatting (e.g. 'en-GB', 'de-DE', 'ja-JP').
130
- * Defaults to 'en-US' when not set.
131
128
  * - `month`: Defines format of month
132
129
  * - `setDate`: Pass in string to set date
133
130
  * - `timeZone`: Pass in string to define [timeZone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
@@ -164,7 +161,6 @@ export type CustomElementsSolidJs = {
164
161
  *
165
162
  * - `cap`: Capitalize AM or PM designation
166
163
  * - `locale`: BCP 47 language tag for locale-aware date/time formatting (e.g. 'en-GB', 'de-DE', 'ja-JP').
167
- * Defaults to 'en-US' when not set.
168
164
  * - `month`: Defines format of month
169
165
  * - `setDate`: Pass in string to set date
170
166
  * - `timeZone`: Pass in string to define [timeZone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "================================================================================"
8
8
  ],
9
9
  "name": "@aurodesignsystem-dev/auro-datetime",
10
- "version": "0.0.0-pr82.1",
10
+ "version": "0.0.0-pr82.2",
11
11
  "description": "auro-datetime HTML custom element",
12
12
  "repository": {
13
13
  "type": "git",