@mhmo91/schmancy 0.4.71 → 0.4.72
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/ai/context.md +2 -3
- package/ai/directives.md +1 -1
- package/dist/ai/context.md +2 -3
- package/dist/ai/directives.md +1 -1
- package/package.json +1 -1
package/ai/context.md
CHANGED
|
@@ -28,7 +28,7 @@ A context is a reactive container that:
|
|
|
28
28
|
### Basic Syntax
|
|
29
29
|
|
|
30
30
|
```typescript
|
|
31
|
-
import { createContext } from '@mhmo91/schmancy
|
|
31
|
+
import { createContext } from '@mhmo91/schmancy'
|
|
32
32
|
|
|
33
33
|
export const contextName = createContext<Type>(
|
|
34
34
|
initialValue, // Default value
|
|
@@ -131,8 +131,7 @@ user: AuthUser | null | undefined
|
|
|
131
131
|
### Basic Component Integration
|
|
132
132
|
|
|
133
133
|
```typescript
|
|
134
|
-
import { $LitElement } from '@mhmo91/schmancy
|
|
135
|
-
import { select } from '@mhmo91/schmancy/context'
|
|
134
|
+
import { $LitElement, select } from '@mhmo91/schmancy'
|
|
136
135
|
import { userContext, productsContext } from './contexts'
|
|
137
136
|
|
|
138
137
|
@customElement('my-component')
|
package/ai/directives.md
CHANGED
package/dist/ai/context.md
CHANGED
|
@@ -28,7 +28,7 @@ A context is a reactive container that:
|
|
|
28
28
|
### Basic Syntax
|
|
29
29
|
|
|
30
30
|
```typescript
|
|
31
|
-
import { createContext } from '@mhmo91/schmancy
|
|
31
|
+
import { createContext } from '@mhmo91/schmancy'
|
|
32
32
|
|
|
33
33
|
export const contextName = createContext<Type>(
|
|
34
34
|
initialValue, // Default value
|
|
@@ -131,8 +131,7 @@ user: AuthUser | null | undefined
|
|
|
131
131
|
### Basic Component Integration
|
|
132
132
|
|
|
133
133
|
```typescript
|
|
134
|
-
import { $LitElement } from '@mhmo91/schmancy
|
|
135
|
-
import { select } from '@mhmo91/schmancy/context'
|
|
134
|
+
import { $LitElement, select } from '@mhmo91/schmancy'
|
|
136
135
|
import { userContext, productsContext } from './contexts'
|
|
137
136
|
|
|
138
137
|
@customElement('my-component')
|
package/dist/ai/directives.md
CHANGED