@instructure/ui-checkbox 11.7.4-snapshot-11 → 11.7.4-snapshot-49

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.
Files changed (60) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/LICENSE.md +1 -0
  3. package/es/Checkbox/v1/CheckboxFacade/index.js +4 -4
  4. package/es/Checkbox/v1/ToggleFacade/index.js +4 -4
  5. package/es/Checkbox/v1/index.js +6 -6
  6. package/es/Checkbox/v2/CheckboxFacade/index.js +3 -3
  7. package/es/Checkbox/v2/ToggleFacade/index.js +3 -3
  8. package/es/Checkbox/v2/index.js +5 -5
  9. package/es/CheckboxGroup/v1/index.js +3 -3
  10. package/es/CheckboxGroup/v2/index.js +3 -3
  11. package/es/exports/a.js +2 -2
  12. package/es/exports/b.js +2 -2
  13. package/lib/Checkbox/v1/CheckboxFacade/index.js +4 -4
  14. package/lib/Checkbox/v1/ToggleFacade/index.js +4 -4
  15. package/lib/Checkbox/v1/index.js +10 -10
  16. package/lib/Checkbox/v2/CheckboxFacade/index.js +3 -3
  17. package/lib/Checkbox/v2/ToggleFacade/index.js +3 -3
  18. package/lib/Checkbox/v2/index.js +9 -9
  19. package/lib/CheckboxGroup/v1/index.js +4 -4
  20. package/lib/CheckboxGroup/v2/index.js +4 -4
  21. package/lib/exports/a.js +6 -6
  22. package/lib/exports/b.js +6 -6
  23. package/package.json +16 -16
  24. package/src/Checkbox/v1/CheckboxFacade/index.tsx +4 -3
  25. package/src/Checkbox/v1/ToggleFacade/index.tsx +4 -3
  26. package/src/Checkbox/v1/index.tsx +6 -5
  27. package/src/Checkbox/v2/CheckboxFacade/index.tsx +3 -2
  28. package/src/Checkbox/v2/ToggleFacade/index.tsx +3 -2
  29. package/src/Checkbox/v2/index.tsx +5 -4
  30. package/src/CheckboxGroup/v1/index.tsx +3 -2
  31. package/src/CheckboxGroup/v1/props.ts +1 -1
  32. package/src/CheckboxGroup/v2/index.tsx +3 -2
  33. package/src/CheckboxGroup/v2/props.ts +1 -1
  34. package/src/exports/a.ts +2 -2
  35. package/src/exports/b.ts +2 -2
  36. package/tsconfig.build.tsbuildinfo +1 -1
  37. package/types/Checkbox/v1/CheckboxFacade/index.d.ts +1 -0
  38. package/types/Checkbox/v1/CheckboxFacade/index.d.ts.map +1 -1
  39. package/types/Checkbox/v1/ToggleFacade/index.d.ts +1 -0
  40. package/types/Checkbox/v1/ToggleFacade/index.d.ts.map +1 -1
  41. package/types/Checkbox/v1/index.d.ts +3 -2
  42. package/types/Checkbox/v1/index.d.ts.map +1 -1
  43. package/types/Checkbox/v2/CheckboxFacade/index.d.ts +1 -0
  44. package/types/Checkbox/v2/CheckboxFacade/index.d.ts.map +1 -1
  45. package/types/Checkbox/v2/ToggleFacade/index.d.ts +1 -0
  46. package/types/Checkbox/v2/ToggleFacade/index.d.ts.map +1 -1
  47. package/types/Checkbox/v2/index.d.ts +3 -2
  48. package/types/Checkbox/v2/index.d.ts.map +1 -1
  49. package/types/CheckboxGroup/v1/index.d.ts +1 -0
  50. package/types/CheckboxGroup/v1/index.d.ts.map +1 -1
  51. package/types/CheckboxGroup/v1/props.d.ts +1 -1
  52. package/types/CheckboxGroup/v1/props.d.ts.map +1 -1
  53. package/types/CheckboxGroup/v2/index.d.ts +1 -0
  54. package/types/CheckboxGroup/v2/index.d.ts.map +1 -1
  55. package/types/CheckboxGroup/v2/props.d.ts +1 -1
  56. package/types/CheckboxGroup/v2/props.d.ts.map +1 -1
  57. package/types/exports/a.d.ts +2 -2
  58. package/types/exports/a.d.ts.map +1 -1
  59. package/types/exports/b.d.ts +2 -2
  60. package/types/exports/b.d.ts.map +1 -1
@@ -28,10 +28,10 @@ import { IconCheckSolid, IconXSolid } from '@instructure/ui-icons'
28
28
 
29
29
  import { withStyle } from '@instructure/emotion'
30
30
 
31
- import generateStyle from './styles'
32
- import generateComponentTheme from './theme'
31
+ import generateStyle from './styles.js'
32
+ import generateComponentTheme from './theme.js'
33
33
 
34
- import { allowedProps } from './props'
34
+ import { allowedProps } from './props.js'
35
35
  import type { ToggleFacadeProps } from './props'
36
36
 
37
37
  /**
@@ -41,6 +41,7 @@ parent: Checkbox
41
41
  **/
42
42
  @withStyle(generateStyle, generateComponentTheme)
43
43
  class ToggleFacade extends Component<ToggleFacadeProps> {
44
+ static displayName = 'ToggleFacade'
44
45
  static readonly componentId = 'ToggleFacade'
45
46
 
46
47
  static allowedProps = allowedProps
@@ -34,13 +34,13 @@ import { View } from '@instructure/ui-view/v11_6'
34
34
 
35
35
  import { withStyle } from '@instructure/emotion'
36
36
 
37
- import { CheckboxFacade } from './CheckboxFacade'
38
- import { ToggleFacade } from './ToggleFacade'
37
+ import { CheckboxFacade } from './CheckboxFacade/index.js'
38
+ import { ToggleFacade } from './ToggleFacade/index.js'
39
39
 
40
- import generateStyle from './styles'
41
- import generateComponentTheme from './theme'
40
+ import generateStyle from './styles.js'
41
+ import generateComponentTheme from './theme.js'
42
42
 
43
- import { allowedProps } from './props'
43
+ import { allowedProps } from './props.js'
44
44
  import type { CheckboxProps, CheckboxState } from './props'
45
45
 
46
46
  import type {
@@ -58,6 +58,7 @@ tags: toggle, switch
58
58
  @withDeterministicId()
59
59
  @withStyle(generateStyle, generateComponentTheme)
60
60
  class Checkbox extends Component<CheckboxProps, CheckboxState> {
61
+ static displayName = 'Checkbox'
61
62
  static readonly componentId = 'Checkbox'
62
63
 
63
64
  static allowedProps = allowedProps
@@ -32,9 +32,9 @@ import {
32
32
 
33
33
  import { withStyleNew } from '@instructure/emotion'
34
34
 
35
- import generateStyle from './styles'
35
+ import generateStyle from './styles.js'
36
36
 
37
- import { allowedProps } from './props'
37
+ import { allowedProps } from './props.js'
38
38
  import type { CheckboxFacadeProps } from './props'
39
39
 
40
40
  /**
@@ -44,6 +44,7 @@ parent: Checkbox
44
44
  **/
45
45
  @withStyleNew(generateStyle, 'Checkbox')
46
46
  class CheckboxFacade extends Component<CheckboxFacadeProps> {
47
+ static displayName = 'CheckboxFacade'
47
48
  static readonly componentId = 'CheckboxFacade'
48
49
 
49
50
  static allowedProps = allowedProps
@@ -32,9 +32,9 @@ import {
32
32
 
33
33
  import { withStyleNew } from '@instructure/emotion'
34
34
 
35
- import generateStyle from './styles'
35
+ import generateStyle from './styles.js'
36
36
 
37
- import { allowedProps } from './props'
37
+ import { allowedProps } from './props.js'
38
38
  import type { ToggleFacadeProps } from './props'
39
39
 
40
40
  /**
@@ -44,6 +44,7 @@ parent: Checkbox
44
44
  **/
45
45
  @withStyleNew(generateStyle, 'Toggle')
46
46
  class ToggleFacade extends Component<ToggleFacadeProps> {
47
+ static displayName = 'ToggleFacade'
47
48
  static readonly componentId = 'ToggleFacade'
48
49
 
49
50
  static allowedProps = allowedProps
@@ -34,12 +34,12 @@ import { View } from '@instructure/ui-view/latest'
34
34
 
35
35
  import { withStyleNew } from '@instructure/emotion'
36
36
 
37
- import { CheckboxFacade } from './CheckboxFacade'
38
- import { ToggleFacade } from './ToggleFacade'
37
+ import { CheckboxFacade } from './CheckboxFacade/index.js'
38
+ import { ToggleFacade } from './ToggleFacade/index.js'
39
39
 
40
- import generateStyle from './styles'
40
+ import generateStyle from './styles.js'
41
41
 
42
- import { allowedProps } from './props'
42
+ import { allowedProps } from './props.js'
43
43
  import type { CheckboxProps, CheckboxState } from './props'
44
44
 
45
45
  /**
@@ -52,6 +52,7 @@ tags: toggle, switch
52
52
  @withDeterministicId()
53
53
  @withStyleNew(generateStyle)
54
54
  class Checkbox extends Component<CheckboxProps, CheckboxState> {
55
+ static displayName = 'Checkbox'
55
56
  static readonly componentId = 'Checkbox'
56
57
 
57
58
  static allowedProps = allowedProps
@@ -33,9 +33,9 @@ import {
33
33
  withDeterministicId
34
34
  } from '@instructure/ui-react-utils'
35
35
 
36
- import { Checkbox } from '../../Checkbox/v1'
36
+ import { Checkbox } from '../../Checkbox/v1/index.js'
37
37
 
38
- import { allowedProps } from './props'
38
+ import { allowedProps } from './props.js'
39
39
  import type {
40
40
  CheckboxGroupProps,
41
41
  CheckboxGroupState,
@@ -50,6 +50,7 @@ category: components
50
50
 
51
51
  @withDeterministicId()
52
52
  class CheckboxGroup extends Component<CheckboxGroupProps, CheckboxGroupState> {
53
+ static displayName = 'CheckboxGroup'
53
54
  static readonly componentId = 'CheckboxGroup'
54
55
 
55
56
  static allowedProps = allowedProps
@@ -27,7 +27,7 @@ import type { FormMessage } from '@instructure/ui-form-field/v11_6'
27
27
  import type { OtherHTMLAttributes } from '@instructure/shared-types'
28
28
  import type { WithDeterministicIdProps } from '@instructure/ui-react-utils'
29
29
 
30
- import { Checkbox } from '../../Checkbox/v1'
30
+ import { Checkbox } from '../../Checkbox/v1/index.js'
31
31
  import type { CheckboxProps } from '../../Checkbox/v1/props'
32
32
 
33
33
  type CheckboxChild = React.ComponentElement<CheckboxProps, Checkbox>
@@ -33,9 +33,9 @@ import {
33
33
  withDeterministicId
34
34
  } from '@instructure/ui-react-utils'
35
35
 
36
- import { Checkbox } from '../../Checkbox/v2'
36
+ import { Checkbox } from '../../Checkbox/v2/index.js'
37
37
 
38
- import { allowedProps } from './props'
38
+ import { allowedProps } from './props.js'
39
39
  import type {
40
40
  CheckboxGroupProps,
41
41
  CheckboxGroupState,
@@ -50,6 +50,7 @@ category: components
50
50
 
51
51
  @withDeterministicId()
52
52
  class CheckboxGroup extends Component<CheckboxGroupProps, CheckboxGroupState> {
53
+ static displayName = 'CheckboxGroup'
53
54
  static readonly componentId = 'CheckboxGroup'
54
55
 
55
56
  static allowedProps = allowedProps
@@ -27,7 +27,7 @@ import type { FormMessage } from '@instructure/ui-form-field/latest'
27
27
  import type { OtherHTMLAttributes } from '@instructure/shared-types'
28
28
  import type { WithDeterministicIdProps } from '@instructure/ui-react-utils'
29
29
 
30
- import { Checkbox } from '../../Checkbox/v2'
30
+ import { Checkbox } from '../../Checkbox/v2/index.js'
31
31
  import type { CheckboxProps } from '../../Checkbox/v2/props'
32
32
 
33
33
  type CheckboxChild = React.ComponentElement<CheckboxProps, Checkbox>
package/src/exports/a.ts CHANGED
@@ -21,8 +21,8 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Checkbox, CheckboxFacade, ToggleFacade } from '../Checkbox/v1'
25
- export { CheckboxGroup } from '../CheckboxGroup/v1'
24
+ export { Checkbox, CheckboxFacade, ToggleFacade } from '../Checkbox/v1/index.js'
25
+ export { CheckboxGroup } from '../CheckboxGroup/v1/index.js'
26
26
 
27
27
  export type { CheckboxProps } from '../Checkbox/v1/props'
28
28
  export type { CheckboxFacadeProps } from '../Checkbox/v1/CheckboxFacade/props'
package/src/exports/b.ts CHANGED
@@ -21,8 +21,8 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Checkbox, CheckboxFacade, ToggleFacade } from '../Checkbox/v2'
25
- export { CheckboxGroup } from '../CheckboxGroup/v2'
24
+ export { Checkbox, CheckboxFacade, ToggleFacade } from '../Checkbox/v2/index.js'
25
+ export { CheckboxGroup } from '../CheckboxGroup/v2/index.js'
26
26
 
27
27
  export type { CheckboxProps } from '../Checkbox/v2/props'
28
28
  export type { CheckboxFacadeProps } from '../Checkbox/v2/CheckboxFacade/props'